module Hash : sig ... endA Git Commit object. Which specifies the top-level Tree.t for the snapshot of the project at a point; the author/committer information and the commit message.
val make : tree:Hash.t -> author:User.t -> committer:User.t -> ?parents:Hash.t list -> ?extra:(string * string list) list -> string -> tmake ~author ~committer ?parents ~tree msg makes an OCaml value t. ?parents should be a non-empty list and corresponds to a list of hashes of commits. tree should be a hash of a Tree.t object.
This function does not write a new commit on the store and does not check the validity of parents and tree. By this way, this function never fails.
module MakeMeta : functor (Meta : Encore.Meta.S) -> sig ... endmodule A : sig ... endmodule M : sig ... endmodule D : sig ... endmodule E : sig ... endval length : t -> int64length t returns the length of the commit object t.
val message : t -> stringmessage c returns the message of the commit c.
val extra : t -> (string * string list) list