plebeia

Functional storage using Merkle Patricia tree
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library plebeia
Module Plebeia . Fs_impl . Make . Op
module Monad : sig ... end
include module type of struct include Monad end
type 'a0 t = cursor -> ( cursor * 'a, 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 = Monad.Infix
module Syntax = Monad.Syntax
val lift_result : ( 'a, 'b ) Result.t -> 'c -> ( 'd * 'e, 'b ) Result.t
val check_cursor_invariant : cursor -> ( cursor * unit, 'a ) Stdlib.result
val fail : error -> 'a t
val raw_cursor : Cursor.t t
val path : Path.t t
val view : view t
val chdir_parent : cursor -> ( cursor * unit, Error.t ) Stdlib.result
val chdir_root : cursor -> ( cursor * unit, Error.t ) Stdlib.result
val chdir : ?dig:bool -> Path.t -> unit t
module Loose : sig ... end
val with_pushd : ( cursor -> ( cursor * 'a, Error.t ) Stdlib.result ) -> cursor -> ( cursor * 'b, Error.t ) Stdlib.result
val get : Path.t -> cursor -> ( cursor * (cursor * view), Error.t ) Stdlib.result
val cat : Path.t -> cursor -> ( cursor * Value.t, Error.t ) Stdlib.result
val write : Path.name list -> Value.t -> cursor -> ( cursor * unit, Error.t ) Stdlib.result
val set : Name.t list -> cursor -> cursor -> ( cursor * unit, Error.t ) Stdlib.result
val copy : Path.t -> Name.t list -> unit t
val rm : ?recursive:bool -> ?ignore_error:bool -> Path.t -> cursor -> ( cursor * bool, Error.t ) Stdlib.result
val rmdir : ?ignore_error:bool -> Path.t -> cursor -> ( cursor * bool, Error.t ) Stdlib.result
val do_then : ( cursor -> 'b ) -> 'a t -> cursor -> ( cursor * 'a0, Error.t ) Stdlib.result
val run : 'a -> ( 'b -> 'c ) -> 'd
val compute_hash : cursor -> ( cursor * Hash.Prefix.t, 'a ) Stdlib.result
val may_forget : cursor -> ( cursor * unit, 'a ) Stdlib.result