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
3 Tools
type t =
| Add of Node_type.node * Segment.Segs.t |
| Del of Segment.Segs.t |
| CleanBud of Segment.Segs.t |
| ModLeaf of Node_type.node * Value.t * Segment.Segs.t |
Segment fbased diff
val pp : Stdlib.Format.formatter -> t -> unit
Pretty printing
Load all the node in the diff and foget Index information so tht the diff can be directly applicable to tree of the another context.
val diff : Context.t -> Node_type.node -> Node_type.node -> t list
diff src dst
gets the segment based diff between 2 nodes
Add (n,segs)
just insert n
to the cursor. If Cursor.t
uses a different context from the one of diffs, indices in the n
must be reset to Not_Indexed
.
val apply_and_check :
Context.t ->
Node_type.node ->
Node_type.node ->
t list ->
unit
Check the diff correctness
ON THIS PAGE
No table of contents