Module Values.BatchGetCommitsOutputSource

Returns information about the contents of one or more commits in a repository.

Sourcetype nonrec t = {
  1. commits : CommitObjectsList.t option;
    (*

    An array of commit data type objects, each of which contains information about a specified commit.

    *)
  2. errors : BatchGetCommitsErrorsList.t option;
    (*

    Returns any commit IDs for which information could not be found. For example, if one of the commit IDs was a shortened SHA ID or that commit was not found in the specified repository, the ID returns an error object with more information.

    *)
}
Sourcetype nonrec error = [
  1. | `CommitIdsLimitExceededException of CommitIdsLimitExceededException.t
  2. | `CommitIdsListRequiredException of CommitIdsListRequiredException.t
  3. | `EncryptionIntegrityChecksFailedException of EncryptionIntegrityChecksFailedException.t
  4. | `EncryptionKeyAccessDeniedException of EncryptionKeyAccessDeniedException.t
  5. | `EncryptionKeyDisabledException of EncryptionKeyDisabledException.t
  6. | `EncryptionKeyNotFoundException of EncryptionKeyNotFoundException.t
  7. | `EncryptionKeyUnavailableException of EncryptionKeyUnavailableException.t
  8. | `InvalidRepositoryNameException of InvalidRepositoryNameException.t
  9. | `RepositoryDoesNotExistException of RepositoryDoesNotExistException.t
  10. | `RepositoryNameRequiredException of RepositoryNameRequiredException.t
  11. | `Unknown_operation_error of string * string option
]
Sourceval make : ?commits:??? -> ?errors:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `CommitIdsLimitExceededException of unit | `CommitIdsListRequiredException of unit | `EncryptionIntegrityChecksFailedException of unit | `EncryptionKeyAccessDeniedException of unit | `EncryptionKeyDisabledException of unit | `EncryptionKeyNotFoundException of unit | `EncryptionKeyUnavailableException of unit | `InvalidRepositoryNameException of unit | `RepositoryDoesNotExistException of unit | `RepositoryNameRequiredException of unit | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `CommitIdsLimitExceededException of unit | `CommitIdsListRequiredException of unit | `EncryptionIntegrityChecksFailedException of unit | `EncryptionKeyAccessDeniedException of unit | `EncryptionKeyDisabledException of unit | `EncryptionKeyNotFoundException of unit | `EncryptionKeyUnavailableException of unit | `InvalidRepositoryNameException of unit | `RepositoryDoesNotExistException of unit | `RepositoryNameRequiredException of unit | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `List of [> `String of ObjectId.t ] list | `String of ObjectId.t | `Structure of (string * [> `String of Name.t ]) list ]) list ] 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