package git

  1. Overview
  2. Docs

Annotated tags.

type t = {
  1. obj : Hash.t;
  2. typ : Object_type.t;
  3. tag : string;
  4. tagger : User.t;
  5. message : string;
}

A tag is bookmark to a previous commit.

include S with type t := t
val equal : t -> t -> bool

Are two objects equal?

val hash : t -> int

Hash an object.

val compare : t -> t -> int

Compare two objects.

val pp : t Fmt.t

pp is the pretty-printer for values of type t.

module IO (D : Hash.DIGEST) : IO with type t = t