Up

module Object

: sig

Signatures

#
module type S = sig
#
type t

The type for the given Git object.

#
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 pretty : t -> string

Human readable represenation of the object.

#
val input : Mstruct.t -> t

Build a value from an inflated contents.

#
val add : Buffer.t -> t -> unit

Add the serialization of the value to an already existing buffer.

end
end