Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
type hash = hash
type nonrec t = hash Git__Value.t
module Blob : sig ... end
module Commit : sig ... end
module Tree : sig ... end
module Tag : sig ... end
val kind : t -> [ `Blob | `Commit | `Tag | `Tree ]
val format : t Encore.t
val pp : t Fmt.t
val hash : t -> int
module Set : sig ... end
module Map : sig ... end
val length : t -> int64
val to_raw : t -> string
val to_raw_without_header : t -> string
val of_raw_with_header :
?off:int ->
?len:int ->
string ->
(t, [> `Msg of string ]) Stdlib.result
val of_raw :
kind:[ `Blob | `Commit | `Tag | `Tree ] ->
Cstruct.t ->
(t, [> `Msg of string ]) Stdlib.result
val stream : t -> unit -> string option Lwt.t