plebeia

Functional storage using Merkle Patricia tree
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library plebeia
Module Plebeia . Fs_impl . Make . Op_lwt
module Monad : sig ... end
include module type of struct include Monad end
type 'a0 t = cursor -> ( cursor * 'a, Error.t ) Stdlib.result Lwt.t
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 : 'a Op.t -> 'a t
val lift_op : 'a Op.t -> 'a t
val lift_lwt : 'a Lwt.t -> 'a t
val lift_result : ( 'a, Error.t ) Result.t -> 'a t
val lift_result_lwt : ( 'a, Error.t ) Result_lwt.t -> 'a t
val fail : error -> 'a t
val raw_cursor : Cursor.t t
val chdir_parent : unit t
val chdir_root : unit t
val chdir : ?dig:bool -> Path.t -> unit t
val path : Path.t t
val get : Path.t -> (cursor * view) t
val set : Name.t list -> cursor -> unit t
val copy : Path.t -> Name.t list -> unit t
val cat : Path.t -> Value.t t
val write : Path.name list -> Value.t -> unit t
val rm : ?recursive:bool -> ?ignore_error:bool -> Path.t -> bool t
val rmdir : ?ignore_error:bool -> Path.t -> bool t
val compute_hash : Hash.Prefix.t t
val may_forget : unit t
val do_then : ( 'a -> 'b ) -> ( 'c -> 'd ) -> 'e -> 'f
val with_pushd_lwt : ( cursor -> ( cursor * 'a, Error.t ) Result.t Lwt.t ) -> cursor -> ( cursor * 'b, Error.t ) Result.t Lwt.t
val traverse : ('a * [< `Exit | `Right of 'c | `Up of Segs.t * 'd Right ] as 'b * Segs.t * Cursor.t) -> ( 'e -> Segs.t -> Cursor.t -> ( [< `Continue | `Exit | `Up ] * 'f, Error.t ) Stdlib.result Lwt.t ) -> ( 'g * [> `Exit | `Up of Segs.t * 'h ] * Segs.t * Cursor.t, Error.t ) Stdlib.result Lwt.t
val raw_fold : 'a -> Cursor.t -> ( 'b -> Segs.t -> Cursor.t -> ( [< `Continue | `Exit | `Up ] * 'c, Error.t ) Stdlib.result Lwt.t ) -> ( Cursor.t * 'd, Error.t ) Stdlib.result Lwt.t
val fold_here : 'a -> ( 'a0 -> Path.t -> cursor -> ( [ `Continue | `Exit | `Up ] * 'a0, Error.t ) Stdlib.result Lwt.t ) -> cursor -> ( cursor * 'a1, Error.t ) Stdlib.result Lwt.t
val fold'_here : ?depth:[< `Eq of int | `Ge of int | `Gt of int | `Le of int | `Lt of int ] -> 'a -> ( 'b -> Path.t -> cursor -> ( 'c, Error.t ) Stdlib.result Lwt.t ) -> 'd t
val at_dir : string -> Path.t -> 'a t -> 'b t
val fold : 'a -> Path.t -> ( 'b -> Path.t -> cursor -> ( [ `Continue | `Exit | `Up ] * 'b, Error.t ) Stdlib.result Lwt.t ) -> 'c t
val fold' : ?depth:[< `Eq of int | `Ge of int | `Gt of int | `Le of int | `Lt of int ] -> 'a -> Path.t -> ( 'b -> Path.t -> cursor -> ( 'b, Error.t ) Stdlib.result Lwt.t ) -> 'c t
val ls : Path.t -> (Name.t * cursor) list t
val run : 'a -> ( 'b -> 'c ) -> 'd