plebeia

Functional storage using Merkle Patricia tree
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library plebeia.test_utils
type 'a0 t = cursor -> ( cursor * 'a, Plebeia.Error.t ) Stdlib.result
val return : 'a -> 'a t
val bind : 'a t -> ( 'a -> 'b t ) -> 'b t
val map : ( 'a -> 'b ) -> 'a t -> 'b t
val mapM : ( 'a -> 'b t ) -> 'a list -> 'b list t
val mapM_ : ( 'a -> unit t ) -> 'a list -> unit t
val iterM : ( 'a -> unit t ) -> 'a list -> unit t
val fold_leftM : ( 'a -> 'b -> 'a t ) -> 'a -> 'b list -> 'a t
val parseM : ( 'a -> 'b list -> ('a * 'b list) t ) -> 'a -> 'b list -> 'a t
module Infix : sig ... end
module Syntax : sig ... end
val fail : error -> 'a -> ( 'b, Plebeia.Error.t ) Stdlib.result
val get_raw_cursor : 'a -> 'b
val raw_cursor : 'a -> ( 'b * 'c, 'd ) Stdlib.result
val context : 'a -> 'b
val get_path : raw_cursor -> name list
val path : raw_cursor -> ( raw_cursor * name list, 'a ) Stdlib.result
val view : raw_cursor -> ( raw_cursor * model_tree, 'a ) Stdlib.result
val chdir_parent : raw_cursor -> ( raw_cursor * unit, 'a ) Stdlib.result
val chdir_root : raw_cursor -> ( raw_cursor * unit, 'a ) Stdlib.result
val seek : Path.t -> (cursor * view) t
val seek' : Map.key list -> Path.t t
val chdir : ?dig:bool -> Map.key list -> unit t
val with_pushd : ( raw_cursor -> ( raw_cursor * 'a, 'b ) Stdlib.result ) -> raw_cursor -> ( raw_cursor * 'c, 'b ) Stdlib.result
val get : Path.t -> cursor -> ( cursor * (cursor * view), Plebeia.Error.t ) Stdlib.result
val cat : Path.t -> cursor -> ( cursor * Plebeia.Value.t, Plebeia.Error.t ) Stdlib.result
val write : Map.key list -> Plebeia.Value.t -> cursor -> ( raw_cursor * unit, Plebeia.Error.t ) Stdlib.result
val set : Map.key list -> raw_cursor -> cursor -> ( cursor * unit, Plebeia.Error.t ) Stdlib.result
val copy : Path.t -> Map.key list -> unit t
val rm : ?recursive:bool -> ?ignore_error:bool -> Path.t -> cursor -> ( cursor * bool, Plebeia.Error.t ) Stdlib.result
val rmdir : ?ignore_error:bool -> Path.t -> cursor -> ( cursor * bool, Plebeia.Error.t ) Stdlib.result
val ls_no_lwt : Path.t -> (Name.t * cursor) list t
val do_then : ( cursor -> 'b ) -> 'a t -> cursor -> ( cursor * 'a0, Plebeia.Error.t ) Stdlib.result
val run : 'a -> ( 'b -> 'c ) -> 'd
val compute_hash : 'a -> ( 'b * string, 'c ) Stdlib.result
val may_forget : 'a -> ( 'b * unit, 'c ) Stdlib.result