Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
type state = Fs.t
val mkcol :
state ->
Webdav_config.config ->
path:string ->
user:string ->
Cohttp.Code.meth ->
Ptime.t ->
data:string ->
(unit, [ `Bad_request | `Conflict | `Forbidden of string ]) result Lwt.t
val propfind :
state ->
Webdav_config.config ->
path:string ->
user:string ->
depth:string option ->
data:string ->
(string, [> `Bad_request | `Forbidden of string | `Property_not_found ])
result
Lwt.t
val proppatch :
state ->
Webdav_config.config ->
path:string ->
user:string ->
data:string ->
(string, [> `Bad_request ]) result Lwt.t
val report :
state ->
Webdav_config.config ->
path:string ->
user:string ->
data:string ->
(string, [> `Bad_request ]) result Lwt.t
val write_component :
state ->
Webdav_config.config ->
path:string ->
Ptime.t ->
content_type:string ->
data:string ->
(string, [> `Bad_request | `Conflict | `Forbidden | `Internal_server_error ])
result
Lwt.t
val access_granted_for_acl :
state ->
Webdav_config.config ->
Cohttp.Code.meth ->
path:string ->
user:string ->
bool Lwt.t
val verify_auth_header :
state ->
Webdav_config.config ->
string ->
(string, [> `Msg of string | `Unknown_user of string * string ]) result Lwt.t
val make_user :
?props:(Webdav_xml.fqname * Properties.property) list ->
state ->
Ptime.t ->
Webdav_config.config ->
name:string ->
password:string ->
salt:string ->
(Uri.t, [> `Conflict | `Internal_server_error ]) result Lwt.t
val change_user_password :
state ->
Webdav_config.config ->
name:string ->
password:string ->
salt:string ->
(unit, [> `Internal_server_error ]) result Lwt.t
val delete_user :
state ->
Webdav_config.config ->
string ->
(unit, [> `Conflict | `Internal_server_error | `Not_found ]) result Lwt.t
val enroll :
state ->
Webdav_config.config ->
member:string ->
group:string ->
(unit, [> `Conflict | `Internal_server_error ]) result Lwt.t
val resign :
state ->
Webdav_config.config ->
member:string ->
group:string ->
(unit, [> `Conflict | `Internal_server_error ]) result Lwt.t
val replace_group_members :
state ->
Webdav_config.config ->
string ->
string list ->
(unit, [> `Conflict | `Internal_server_error ]) result Lwt.t
val delete_group :
state ->
Webdav_config.config ->
string ->
(unit, [> `Conflict | `Internal_server_error | `Not_found ]) result Lwt.t
val initialize_fs : state -> Ptime.t -> Webdav_config.config -> unit Lwt.t
val initialize_fs_for_apple_testsuite :
state ->
Ptime.t ->
Webdav_config.config ->
unit Lwt.t
val connect : state -> Webdav_config.config -> string option -> state Lwt.t