package plebeia
Functional storage using Merkle Patricia tree
Install
Dune Dependency
Authors
Maintainers
Sources
plebeia-2.0.2.tar.gz
md5=aecc184507170faed53e543195687233
sha512=9799144ea7ebc997681353136393815ac73040e2ae5227f2787c1331bb393dbd318b1fa3ae8d075b383cda4fe7584b80f7f32a4aa99c870a0bd2d76e91024bf5
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)"
>