package plebeia
Functional storage using Merkle Patricia tree
Install
Dune Dependency
Authors
Maintainers
Sources
plebeia-2.2.0.tar.gz
md5=7191dbbd3057df0a78032b560039bb59
sha512=f09790dfa65a6c8dc0da9618123d93f145c16c3b5be719dad04114bbe95a7e94697cacf2c6fb5b50c14408f864954dbf8d47e5994093623eb77f488bdf5c4205
doc/plebeia.test_utils/Test_utils/index.html
Module Test_utils
Source
include module type of struct include Plebeia.Debug end
Dump a node
Dump a node, but not recursively
Obtain Graphviz dot file representation of the tree
Obtain Graphviz dot file representation of the cursor
Graphviz visualization
include module type of struct include Plebeia.Utils end
include module type of Open
Create a file with the given string
Filename.concat
Time the function in seconds
with_time for lwt
failwith with printf interface
Tail recursive list concat
Return the words occupied by the object. Only for debugging. This costs a lot
Source
val with_context_conf_lwt :
(Plebeia.Context.config -> 'a Lwt.t) ->
(Plebeia.Context.config * 'a) list Lwt.t
Source
val with_context_lwt :
(Plebeia.Context.t -> 'a Lwt.t) ->
(Plebeia.Context.config * 'a) list Lwt.t
Source
val with_memory_only_context :
(Plebeia.Context.t -> 'a) ->
(Plebeia.Context.config * 'a) list Lwt.t
Source
val with_vc :
?prefix:string ->
(Plebeia.Vc.t -> 'a Lwt.t) ->
(Plebeia.Context.config * 'a) list Lwt.t
Source
val with_memory_only_cursor :
(Plebeia.Cursor.t -> 'a) ->
(Plebeia.Context.config * 'a) list Lwt.t
Source
val all_children :
Plebeia.Context.t ->
Plebeia.Node_type.node ->
(Plebeia.Segment.t * [> `Directory of Plebeia.Node.node | `File ]) list
Source
val choose_random_node :
float ->
RS.t ->
Plebeia.Context.t ->
Plebeia.Node_type.node ->
Plebeia.Segment.Segs.t
Source
val make_resemble :
RS.t ->
Plebeia.Context.t ->
Plebeia.Node_type.node ->
Plebeia.Node_type.node
Source
val gen_node :
Plebeia.Context.t ->
Random.State.t ->
?min_nodes:int ->
int ->
Plebeia.Node_type.t
Source
val random_segs_to_bud_or_leaf :
RS.t ->
Plebeia.Cursor.cursor ->
Plebeia.Segment.t list option
Source
val prepare_tree :
Random.State.t ->
Plebeia.Cursor.t ->
path_bits:int ->
nfiles:int ->
vbytes:int ->
Plebeia.Cursor.t * Plebeia.Segment.t list
Source
val random_terminal :
Plebeia.Context.t ->
Plebeia.Node_type.node ->
Random.State.t ->
Plebeia__Segment.segment list * Plebeia.Node_type.node
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>