Value.Tag
type hash = hash
val make :
hash ->
Git.Tag.kind ->
?tagger:Git.User.t ->
tag:string ->
string option ->
t
make hash kind ?tagger ~tag descr
makes a new tag with the kind kind
by the tagger
with the name tag
and the description descr
.
This function does not check if the reference hash
points to an existing kind
Git object.
digest 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 -> int
hash 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 = t
module Map : Stdlib.Map.S with type key = t
val length : t -> int64
length t
is the length of the given tag object.
val tag : t -> string
tag t
returns the information of the given tag.
val message : t -> string option
val kind : t -> Git.Tag.kind
val tagger : t -> Git.User.t option