Module Values.DeleteFileOutputSource

Deletes a specified file from a specified branch. A commit is created on the branch that contains the revision. The file still exists in the commits earlier to the commit that contains the deletion.

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

    The full commit ID of the commit that contains the change that deletes the file.

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

    The blob ID removed from the tree as part of deleting the file.

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

    The full SHA-1 pointer of the tree information for the commit that contains the delete file change.

    *)
  4. filePath : Path.t option;
    (*

    The fully qualified path to the file to be deleted, including the full name and extension of that file.

    *)
}
Sourcetype nonrec error = [
  1. | `BranchDoesNotExistException of BranchDoesNotExistException.t
  2. | `BranchNameIsTagNameException of BranchNameIsTagNameException.t
  3. | `BranchNameRequiredException of BranchNameRequiredException.t
  4. | `CommitMessageLengthExceededException of CommitMessageLengthExceededException.t
  5. | `EncryptionIntegrityChecksFailedException of EncryptionIntegrityChecksFailedException.t
  6. | `EncryptionKeyAccessDeniedException of EncryptionKeyAccessDeniedException.t
  7. | `EncryptionKeyDisabledException of EncryptionKeyDisabledException.t
  8. | `EncryptionKeyNotFoundException of EncryptionKeyNotFoundException.t
  9. | `EncryptionKeyUnavailableException of EncryptionKeyUnavailableException.t
  10. | `FileDoesNotExistException of FileDoesNotExistException.t
  11. | `InvalidBranchNameException of InvalidBranchNameException.t
  12. | `InvalidEmailException of InvalidEmailException.t
  13. | `InvalidParentCommitIdException of InvalidParentCommitIdException.t
  14. | `InvalidPathException of InvalidPathException.t
  15. | `InvalidRepositoryNameException of InvalidRepositoryNameException.t
  16. | `NameLengthExceededException of NameLengthExceededException.t
  17. | `ParentCommitDoesNotExistException of ParentCommitDoesNotExistException.t
  18. | `ParentCommitIdOutdatedException of ParentCommitIdOutdatedException.t
  19. | `ParentCommitIdRequiredException of ParentCommitIdRequiredException.t
  20. | `PathRequiredException of PathRequiredException.t
  21. | `RepositoryDoesNotExistException of RepositoryDoesNotExistException.t
  22. | `RepositoryNameRequiredException of RepositoryNameRequiredException.t
  23. | `Unknown_operation_error of string * string option
]
Sourceval make : ?commitId:??? -> ?blobId:??? -> ?treeId:??? -> ?filePath:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `BranchDoesNotExistException of unit | `BranchNameIsTagNameException of unit | `BranchNameRequiredException of unit | `CommitMessageLengthExceededException of unit | `EncryptionIntegrityChecksFailedException of unit | `EncryptionKeyAccessDeniedException of unit | `EncryptionKeyDisabledException of unit | `EncryptionKeyNotFoundException of unit | `EncryptionKeyUnavailableException of unit | `FileDoesNotExistException of unit | `InvalidBranchNameException of unit | `InvalidEmailException of unit | `InvalidParentCommitIdException of unit | `InvalidPathException of unit | `InvalidRepositoryNameException of unit | `NameLengthExceededException of unit | `ParentCommitDoesNotExistException of unit | `ParentCommitIdOutdatedException of unit | `ParentCommitIdRequiredException of unit | `PathRequiredException of unit | `RepositoryDoesNotExistException of unit | `RepositoryNameRequiredException of unit | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `BranchDoesNotExistException of unit | `BranchNameIsTagNameException of unit | `BranchNameRequiredException of unit | `CommitMessageLengthExceededException of unit | `EncryptionIntegrityChecksFailedException of unit | `EncryptionKeyAccessDeniedException of unit | `EncryptionKeyDisabledException of unit | `EncryptionKeyNotFoundException of unit | `EncryptionKeyUnavailableException of unit | `FileDoesNotExistException of unit | `InvalidBranchNameException of unit | `InvalidEmailException of unit | `InvalidParentCommitIdException of unit | `InvalidPathException of unit | `InvalidRepositoryNameException of unit | `NameLengthExceededException of unit | `ParentCommitDoesNotExistException of unit | `ParentCommitIdOutdatedException of unit | `ParentCommitIdRequiredException of unit | `PathRequiredException 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 * [> `String of ObjectId.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