Handler.STOREinclude RO_STOREval is_collection : t -> path:string -> boolis_collection store ~path returns true if path is a collection (directory).
val exists : t -> path:string -> boolexists store ~path returns true if path exists as any resource type.
val get_properties :
t ->
path:string ->
((string * string) * Webdavz__.Webdavz_xml.tree list) listget_properties store ~path returns all properties for the resource. Called by PROPFIND handlers.
val read : t -> path:string -> string optionread store ~path returns the resource content, or None if the resource doesn't exist or is a collection.
val children : t -> path:string -> string listchildren store ~path returns the names of immediate children of a collection. Returns [] for non-collections.
val write : t -> path:string -> content_type:string -> string -> unitwrite store ~path ~content_type data creates or overwrites a non-collection resource.
val delete : t -> path:string -> booldelete store ~path removes a resource (or collection with contents). Returns true on success, false if the resource doesn't exist.
val mkdir : t -> path:string -> unitmkdir store ~path creates a collection.