plebeia
Functional storage using Merkle Patricia tree
1024" x-on:close-sidebar="sidebar=window.innerWidth > 1024 && true">
package plebeia
-
plebeia
-
-
plebeia.msync
-
plebeia.test_utils
-
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Library plebeia.test_utils
module Monad : sig ... end
type 'a t = cursor -> ( cursor * 'a, Plebeia.Error.t ) Stdlib.result Lwt.t
val return : 'a -> 'a t
module Infix = Monad.Infix
module Syntax = Monad.Syntax
val lift_result : ( 'a, Plebeia.Error.t ) Plebeia.Result.t -> 'a t
val lift_result_lwt : ( 'a, Plebeia.Error.t ) Plebeia.Result_lwt.t -> 'a t
val raw_cursor : Plebeia.Cursor.t t
val chdir_parent : unit t
val chdir_root : unit t
val cat : Path.t -> Plebeia.Value.t t
val write : Path.name list -> Plebeia.Value.t -> unit t
val compute_hash : Plebeia.Hash.Prefix.t t
val may_forget : unit t
val with_pushd_lwt :
( cursor -> ( cursor * 'a, Plebeia.Error.t ) Plebeia.Result.t Lwt.t ) ->
cursor ->
( cursor * 'a, Plebeia.Error.t ) Plebeia.Result.t Lwt.t
val traverse :
('a
* [< `Exit | `Right of 'b | `Up of Plebeia.Segment.Segs.t * 'b Right ] as 'b
* Plebeia.Segment.Segs.t
* Plebeia.Cursor.t) ->
( 'a ->
Plebeia.Segment.Segs.t ->
Plebeia.Cursor.t ->
( [< `Continue | `Exit | `Up ] * 'c, Plebeia.Error.t ) Stdlib.result Lwt.t ) ->
( 'c
* [> `Exit | `Up of Plebeia.Segment.Segs.t * 'b ]
* Plebeia.Segment.Segs.t
* Plebeia.Cursor.t,
Plebeia.Error.t )
Stdlib.result
Lwt.t
val raw_fold :
'a ->
Plebeia.Cursor.t ->
( 'a ->
Plebeia.Segment.Segs.t ->
Plebeia.Cursor.t ->
( [< `Continue | `Exit | `Up ] * 'a, Plebeia.Error.t ) Stdlib.result Lwt.t ) ->
( Plebeia.Cursor.t * 'a, Plebeia.Error.t ) Stdlib.result Lwt.t
val fold_here :
'a ->
( 'a ->
Path.t ->
cursor ->
( [ `Continue | `Exit | `Up ] * 'a, Plebeia.Error.t ) Stdlib.result Lwt.t ) ->
cursor ->
( cursor * 'a, Plebeia.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 ->
( 'a -> Path.t -> cursor -> ( 'a, Plebeia.Error.t ) Stdlib.result Lwt.t ) ->
'a t
ON THIS PAGE
No table of contents