type _ hash = | SHA1 : Digestif.SHA1.t hash
module Entry : sig ... endval exists : 'oid t -> Fpath.t -> boolval find : 'oid t -> Fpath.t -> 'oid Entry.t optionval replace : 'oid t -> 'oid Entry.t -> unitval add :
hash:'oid hash ->
Fpath.t ->
'oid t ->
(unit, [> Rresult.R.msg ]) Stdlib.resultval rem : Fpath.t -> 'oid t -> unitval make : ?version:int -> 'oid hash -> 'oid tval load :
hash:'oid hash ->
Fpath.t ->
('oid t, [> Rresult.R.msg ]) Stdlib.resultval store :
hash:'oid hash ->
append:('fd -> Bigstringaf.t -> 'fd) ->
'fd ->
'oid t ->
'fdval store_to_path :
hash:'oid hash ->
Fpath.t ->
'oid t ->
(unit, [> Rresult.R.msg ]) Stdlib.resulttype 'oid elt = [ | `Tree of Fpath.t| `Blob of 'oid Entry.t
]val fold :
f:
([ 'oid elt | `Root ] ->
'oid elt list ->
'a ->
('a, [> Rresult.R.msg ] as 'err) Stdlib.result Lwt.t) ->
'a ->
'oid t ->
('a, 'err) Stdlib.result Lwt.t