Module Values.CommentsForComparedCommitSource

Returns information about comments on the comparison between two commits.

Sourcetype nonrec t = {
  1. repositoryName : RepositoryName.t option;
    (*

    The name of the repository that contains the compared commits.

    *)
  2. beforeCommitId : CommitId.t option;
    (*

    The full commit ID of the commit used to establish the before of the comparison.

    *)
  3. afterCommitId : CommitId.t option;
    (*

    The full commit ID of the commit used to establish the after of the comparison.

    *)
  4. beforeBlobId : ObjectId.t option;
    (*

    The full blob ID of the commit used to establish the before of the comparison.

    *)
  5. afterBlobId : ObjectId.t option;
    (*

    The full blob ID of the commit used to establish the after of the comparison.

    *)
  6. location : Location.t option;
    (*

    Location information about the comment on the comparison, including the file name, line number, and whether the version of the file where the comment was made is BEFORE or AFTER.

    *)
  7. comments : Comments.t option;
    (*

    An array of comment objects. Each comment object contains information about a comment on the comparison between commits.

    *)
}
Sourceval make : ?repositoryName:??? -> ?beforeCommitId:??? -> ?afterCommitId:??? -> ?beforeBlobId:??? -> ?afterBlobId:??? -> ?location:??? -> ?comments:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `Boolean of IsCommentDeleted.t | `List of [> `String of ReactionValue.t ] list | `Map of ([> `String of ReactionValue.t ] * [> `Integer of Count.t ]) list | `String of CommentId.t | `Timestamp of CreationDate.t ]) list ] list | `String of RepositoryName.t | `Structure of (string * [> `Enum of string | `Long of Position.t | `String of Path.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