package plebeia

  1. Overview
  2. Docs
Functional storage using Merkle Patricia tree

Install

dune-project
 Dependency

Authors

Maintainers

Sources

plebeia-2.0.1.tar.gz
md5=f7d5a3c433784118777699713d437f00
sha512=56d88855cd5553f8f398436c67df2229e4ccad75143057704e7af3153aad47ee6f09e6aeada049514a77871096aeb912ea3ddc4ad620970bf8301c2ee27f4c54

doc/plebeia.test_utils/Test_utils/Fs_simulation/WithSimulation/F/Vc/index.html

Module F.VcSource

Sourceval create : ?hashcons:Plebeia.Hashcons.config -> ?node_cache:Plebeia.Index.t Plebeia.Node_cache.t -> ?lock:bool -> ?bytes_per_cell:int -> ?hash_func:[ `Blake2B | `Blake3 ] -> ?bytes_per_hash:int -> ?resize_step_bytes:int -> ?auto_flush_seconds:int -> string -> (Plebeia.Vc.t, Plebeia.Error.t) Plebeia.Result_lwt.t
Sourceval open_ : mode:Plebeia.Storage.mode -> ?hashcons:Plebeia.Hashcons.config -> ?node_cache:Plebeia.Index.t Plebeia.Node_cache.t -> ?bytes_per_cell:int -> ?hash_func:[ `Blake2B | `Blake3 ] -> ?bytes_per_hash:int -> ?resize_step_bytes:int -> ?auto_flush_seconds:int -> string -> (Plebeia.Vc.t, Plebeia.Error.t) Plebeia.Result_lwt.t
Sourceval close : Plebeia.Vc.t -> (unit, Plebeia.Error.t) result Lwt.t
Sourceval empty : Plebeia.Vc.t -> cursor
Sourceval of_value : Plebeia.Vc.t -> bytes -> cursor
Sourceval checkout : Plebeia.Vc.t -> Plebeia.Commit_hash.t -> cursor option Lwt.t
Sourceval checkout' : Plebeia.Vc.t -> Plebeia.Commit_hash.t -> (Plebeia.Commit.t * cursor) option Lwt.t
Sourceval compute_commit_hash : Plebeia.Vc.t -> parent:Plebeia.Commit_hash.t option -> cursor -> cursor * Plebeia.Commit_hash.t
Sourceval commit : ?allow_missing_parent:bool -> Plebeia.Vc.t -> parent:Plebeia.Commit_hash.t option -> hash_override:Plebeia.Commit_hash.t option -> cursor -> (cursor * (Plebeia.Hash.Prefix.t * Plebeia.Commit.t), Plebeia.Error.t) Plebeia.Result.t Lwt.t
Sourceval flush : Plebeia.Vc.t -> unit Lwt.t
Sourceval mem : Plebeia.Vc.t -> Plebeia.Commit_hash.t -> bool Lwt.t
OCaml

Innovation. Community. Security.