Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
val basename : Webdav_fs.file_or_dir -> string
val create_file : Webdav_fs.dir -> string -> Webdav_fs.file
val dir_from_string : string -> Webdav_fs.dir
val file_from_string : string -> Webdav_fs.file
val from_string :
t ->
string ->
(Webdav_fs.file_or_dir, error) Stdlib.result Lwt.t
val to_string : Webdav_fs.file_or_dir -> string
val parent : Webdav_fs.file_or_dir -> Webdav_fs.dir
val get_property_map : t -> Webdav_fs.file_or_dir -> Properties.t Lwt.t
val write_property_map :
t ->
Webdav_fs.file_or_dir ->
Properties.t ->
(unit, write_error) Stdlib.result Lwt.t
val size : t -> Webdav_fs.file -> (int64, error) Stdlib.result Lwt.t
val read :
t ->
Webdav_fs.file ->
(string * Properties.t, error) Stdlib.result Lwt.t
val exists : t -> string -> bool Lwt.t
val dir_exists : t -> Webdav_fs.dir -> bool Lwt.t
val listdir :
t ->
Webdav_fs.dir ->
(Webdav_fs.file_or_dir list, error) Stdlib.result Lwt.t
val mkdir :
t ->
Webdav_fs.dir ->
Properties.t ->
(unit, write_error) Stdlib.result Lwt.t
val write :
t ->
Webdav_fs.file ->
string ->
Properties.t ->
(unit, write_error) Stdlib.result Lwt.t
be careful to call only in a batch, since it writes two files
val destroy :
t ->
Webdav_fs.file_or_dir ->
(unit, write_error) Stdlib.result Lwt.t
be careful to call only in a batch, since it removes two files
val pp_error : error Fmt.t
val pp_write_error : write_error Fmt.t
val valid :
t ->
Webdav_config.config ->
(unit, [> `Msg of string ]) Stdlib.result Lwt.t
val last_modified :
t ->
Webdav_fs.file_or_dir ->
(Ptime.t, error) Stdlib.result Lwt.t
val etag : t -> Webdav_fs.file_or_dir -> (string, error) Stdlib.result Lwt.t