package plebeia

  1. Overview
  2. Docs
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/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.