Module Values.TargetSource

Returns information about a target for a pull request.

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

    The name of the repository that contains the pull request.

    *)
  2. sourceReference : ReferenceName.t;
    (*

    The branch of the repository that contains the changes for the pull request. Also known as the source branch.

    *)
  3. destinationReference : ReferenceName.t option;
    (*

    The branch of the repository where the pull request changes are merged. Also known as the destination branch.

    *)
}
Sourceval context_ : string
Sourceval make : ?destinationReference:??? -> repositoryName:RepositoryName.t -> sourceReference:ReferenceName.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of RepositoryName.t ]) 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