Module Git.User

type tz_offset = {
  1. sign : [ `Plus | `Minus ];
  2. hours : int;
  3. minutes : int;
}
type t = {
  1. name : string;
  2. email : string;
  3. date : int64 * tz_offset option;
}
val pp : t Fmt.t

Pretty-printer of t.

val compare : t -> t -> int

The comparison function for t.

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.

val equal : t -> t -> bool

The equal function for t.

Sets and Maps.

module Set : Stdlib.Set.S with type elt = t
module Map : Stdlib.Map.S with type key = t
val format : t Encore.t
val length : t -> int64