Module 1-G.Value

module Blob = Git.Blob.Make(Hash)
module Commit = Git.Commit.Make(Hash)
module Tree = Git.Tree.Make(Hash)
module Tag = Git.Tag.Make(Hash)
type t = Git.Value.Make(Hash)(Inflate)(Deflate).t =
| Blob of Blob.t

The Blob.t OCaml value.

| Commit of Commit.t

The Commit.t OCaml value.

| Tree of Tree.t

The Tree.t OCaml value.

| Tag of Tag.t

The Tag.t OCaml value.

OCaml value which represents a Git object.

val blob : Blob.t -> t
val commit : Commit.t -> t
val tree : Tree.t -> t
val tag : Tag.t -> t
val kind : t -> [ `Commit | `Blob | `Tree | `Tag ]

kind o returns the kind of the Git object.

val pp_kind : [ `Commit | `Blob | `Tree | `Tag ] Fmt.t

pp_kind ppf kind is a human readable pretty-printer of kind.

module MakeMeta : functor (Meta : Encore.Meta.S) -> sig ... end
module A : sig ... end
module M : sig ... end
module D : sig ... end
module E : sig ... end
val digest : t -> Hash.t
val pp : t Fmt.t
val compare : t -> t -> int
val hash : t -> int
val equal : t -> t -> bool
module Set : Stdlib.Set.S with type elt = t
module Map : Stdlib.Map.S with type key = t
val length : t -> int64