package plebeia
Functional storage using Merkle Patricia tree
Install
dune-project
Dependency
Authors
Maintainers
Sources
plebeia-2.0.0.tar.gz
md5=f528f42d3e72d400265eb6bc51901fca
sha512=6cf070b2f1ea2e570a106b231a7e8e40c64c91c5a7abeddf072a5c413e74d5d9dd9b7df674cca559ddb33cabc9c0ec0b3a001306397d11b62888aac4cca9fd7e
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)"
>