Module Values.RevisionSource

Information about the revision for a specific sync event, such as the branch, owner ID, and name of the repository.

Sourcetype nonrec t = {
  1. branch : BranchName.t option;
    (*

    The branch name for a specific revision.

    *)
  2. directory : Directory.t option;
    (*

    The directory, if any, for a specific revision.

    *)
  3. ownerId : OwnerId.t option;
    (*

    The owner ID for a specific revision, such as the GitHub owner ID for a GitHub repository.

    *)
  4. repositoryName : RepositoryName.t option;
    (*

    The repository name for a specific revision.

    *)
  5. providerType : ProviderType.t option;
    (*

    The provider type for a revision, such as GitHub.

    *)
  6. sha : SHA.t option;
    (*

    The SHA, such as the commit ID, for a specific revision.

    *)
}
Sourceval make : ?branch:??? -> ?directory:??? -> ?ownerId:??? -> ?repositoryName:??? -> ?providerType:??? -> ?sha:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of BranchName.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