Values.GetFileOutputSourceReturns the base-64 encoded contents of a specified file and its metadata.
type nonrec t = {commitId : ObjectId.t option;The full commit ID of the commit that contains the content returned by GetFile.
*)blobId : ObjectId.t option;The blob ID of the object that represents the file content.
*)filePath : Path.t option;The fully qualified path to the specified file. Returns the name and extension of the file.
*)fileMode : FileModeTypeEnum.t option;The extrapolated file mode permissions of the blob. Valid values include strings such as EXECUTABLE and not numeric values. The file mode permissions returned by this API are not the standard file mode permission values, such as 100644, but rather extrapolated values. See the supported return values.
*)fileSize : ObjectSize.t option;The size of the contents of the file, in bytes.
*)fileContent : FileContent.t option;The base-64 encoded binary data object that represents the content of the file.
*)}type nonrec error = [ | `CommitDoesNotExistException of CommitDoesNotExistException.t| `EncryptionIntegrityChecksFailedException of
EncryptionIntegrityChecksFailedException.t| `EncryptionKeyAccessDeniedException of EncryptionKeyAccessDeniedException.t| `EncryptionKeyDisabledException of EncryptionKeyDisabledException.t| `EncryptionKeyNotFoundException of EncryptionKeyNotFoundException.t| `FileDoesNotExistException of FileDoesNotExistException.t| `FileTooLargeException of FileTooLargeException.t| `InvalidCommitException of InvalidCommitException.t| `InvalidPathException of InvalidPathException.t| `InvalidRepositoryNameException of InvalidRepositoryNameException.t| `PathRequiredException of PathRequiredException.t| `RepositoryDoesNotExistException of RepositoryDoesNotExistException.t| `RepositoryNameRequiredException of RepositoryNameRequiredException.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `CommitDoesNotExistException of unit
| `EncryptionIntegrityChecksFailedException of unit
| `EncryptionKeyAccessDeniedException of unit
| `EncryptionKeyDisabledException of unit
| `EncryptionKeyNotFoundException of unit
| `EncryptionKeyUnavailableException of unit
| `FileDoesNotExistException of unit
| `FileTooLargeException of unit
| `InvalidCommitException of unit
| `InvalidPathException of unit
| `InvalidRepositoryNameException of unit
| `PathRequiredException of unit
| `RepositoryDoesNotExistException of unit
| `RepositoryNameRequiredException of unit
| `Unknown_operation_error of string * string option ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `CommitDoesNotExistException of unit
| `EncryptionIntegrityChecksFailedException of unit
| `EncryptionKeyAccessDeniedException of unit
| `EncryptionKeyDisabledException of unit
| `EncryptionKeyNotFoundException of unit
| `EncryptionKeyUnavailableException of unit
| `FileDoesNotExistException of unit
| `FileTooLargeException of unit
| `InvalidCommitException of unit
| `InvalidPathException of unit
| `InvalidRepositoryNameException of unit
| `PathRequiredException of unit
| `RepositoryDoesNotExistException of unit
| `RepositoryNameRequiredException of unit
| `Unknown_operation_error of string * string option ]val to_value :
t ->
[> `Structure of
(string
* [> `Blob of FileContent.t
| `Enum of string
| `Long of ObjectSize.t
| `String of ObjectId.t ])
list ]