Get Repository File Result
data class GetRepositoryFileResult(val blobId: String, val commitId: String, val content: String, val contentSha256: String, val encoding: String, val executeFilemode: Boolean, val fileName: String, val filePath: String, val id: String, val lastCommitId: String, val project: String, val ref: String, val size: Int)
A collection of values returned by getRepositoryFile.
Constructors
Properties
Link copied to clipboard
File content. If the content is not yet base64 encoded, it will be encoded automatically. No other encoding is currently supported, because of a GitLab API bug.
Link copied to clipboard
File content sha256 digest.
Link copied to clipboard
Enables or disables the execute flag on the file. Note: requires GitLab 14.10 or newer.
Link copied to clipboard
The last known commit id.