val debug : ('a, unit, string, unit) Stdlib.format4 -> 'aval test_eagain : bool Stdlib.refval check_parents_perms_identical : Store.Node.t -> Store.Node.t -> Store.Path.t -> boolval get_lowest : Store.Path.t -> Store.Path.t option -> Store.Path.t optionval test_coalesce : Store.Node.t -> Store.Node.t -> Store.Path.t -> boolval can_coalesce : Store.Node.t -> Store.Node.t -> Store.Path.t -> booltype t = {ty : ty; |
store : Store.t; |
quota : Quota.t; |
mutable paths : (Xs_protocol.Op.t * Store.Name.t) list; |
mutable operations : (Xs_protocol.Request.payload * Xs_protocol.Response.payload) list; |
mutable read_lowpath : Store.Path.t option; |
mutable write_lowpath : Store.Path.t option; |
}val get_id : t -> int32val get_paths : t -> (Xs_protocol.Op.t * Store.Name.t) listval add_wop : t -> Xs_protocol.Op.t -> Store.Path.t -> unitval add_operation : t -> Xs_protocol.Request.payload -> Xs_protocol.Response.payload -> unitval get_operations : t -> (Xs_protocol.Request.payload * Xs_protocol.Response.payload) listval set_read_lowpath : t -> Store.Path.t -> unitval set_write_lowpath : t -> Store.Path.t -> unitval exists : t -> 'a -> Store.Path.t -> boolval write : t -> int -> Perms.t -> Store.Path.t -> string -> unitval mkdir : ?with_watch:bool -> t -> int -> Perms.t -> Store.Path.t -> unitval setperms : t -> Perms.t -> Store.Path.t -> Xs_protocol.ACL.t -> unitval rm : t -> Perms.t -> Store.Path.t -> unitval list : t -> Perms.t -> Store.Path.t -> string listval read : t -> Perms.t -> Store.Path.t -> stringval getperms : t -> Perms.t -> Store.Path.t -> Xs_protocol.ACL.tval commit : con:string -> t -> bool