Mem.Valuetype hash = hashtype nonrec t = hash Git__Value.tmodule Blob : sig ... endmodule Commit : sig ... endmodule Tree : sig ... endmodule Tag : sig ... endval kind : t -> [ `Blob | `Commit | `Tag | `Tree ]val format : t Encore.tval pp : t Fmt.tval hash : t -> intmodule Set : sig ... endmodule Map : sig ... endval length : t -> int64val length_with_header : t -> int64val 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:[ `Blob | `Commit | `Tag | `Tree ] ->
Cstruct.t ->
(t, [> `Msg of string ]) Stdlib.resultval stream : t -> unit -> string option Lwt.t