Store.Valuetype hash = hashtype nonrec t = hash Git.Value.tOCaml value which represents a Git object.
module Blob : Git.Blob.S with type hash = hashmodule Commit : Git.Commit.S with type hash = hashmodule Tree : Git.Tree.S with type hash = hashval kind : t -> [ `Commit | `Blob | `Tree | `Tag ]kind o returns the kind of the Git object.
val format : t Encore.tdigest t associates a hash to any value of t. It is guaranteed that if x = y or compare x y = 0, then digest x = digest y.
val hash : t -> inthash blob associates a non-negative integer to any value of t. It is guaranteed that if x = y or compare x y = 0, then hash x = hash y.
module Set : Stdlib.Set.S with type elt = tmodule Map : Stdlib.Map.S with type key = tval length : t -> int64val length_with_header : t -> int64length_with_header t is length t plus the length of the header.
val to_raw : t -> stringval to_raw_without_header : t -> stringval of_raw_with_header :
?off:int ->
?len:int ->
string ->
(t, [> `Msg of string ]) Stdlib.resultval of_raw :
kind:[ `Commit | `Blob | `Tree | `Tag ] ->
Cstruct.t ->
(t, [> `Msg of string ]) Stdlib.resultval stream : t -> unit -> string option Lwt.t