Module Values.CommitSource

Returns information about a specific commit.

Sourcetype nonrec t = {
  1. commitId : ObjectId.t option;
    (*

    The full SHA ID of the specified commit.

    *)
  2. treeId : ObjectId.t option;
    (*

    Tree information for the specified commit.

    *)
  3. parents : ParentList.t option;
    (*

    A list of parent commits for the specified commit. Each parent commit ID is the full commit ID.

    *)
  4. message : Message.t option;
    (*

    The commit message associated with the specified commit.

    *)
  5. author : UserInfo.t option;
    (*

    Information about the author of the specified commit. Information includes the date in timestamp format with GMT offset, the name of the author, and the email address for the author, as configured in Git.

    *)
  6. committer : UserInfo.t option;
    (*

    Information about the person who committed the specified commit, also known as the committer. Information includes the date in timestamp format with GMT offset, the name of the committer, and the email address for the committer, as configured in Git. For more information about the difference between an author and a committer in Git, see Viewing the Commit History in Pro Git by Scott Chacon and Ben Straub.

    *)
  7. additionalData : AdditionalData.t option;
    (*

    Any other data associated with the specified commit.

    *)
}
Sourceval make : ?commitId:??? -> ?treeId:??? -> ?parents:??? -> ?message:??? -> ?author:??? -> ?committer:??? -> ?additionalData:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `String of ObjectId.t ] list | `String of ObjectId.t | `Structure of (string * [> `String of Name.t ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t