package plebeia
Module F.VcSource
Source
val 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.tSource
val 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.tSource
val checkout' :
Plebeia.Vc.t ->
Plebeia.Commit_hash.t ->
(Plebeia.Commit.t * cursor) option Lwt.tSource
val compute_commit_hash :
Plebeia.Vc.t ->
parent:Plebeia.Commit_hash.t option ->
cursor ->
cursor * Plebeia.Commit_hash.tSource
val 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