GetRepositoryFileResult

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

Link copied to clipboard
constructor(blobId: String, commitId: String, content: String, contentSha256: String, encoding: String, executeFilemode: Boolean, fileName: String, filePath: String, id: String, lastCommitId: String, project: String, ref: String, size: Int)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The blob id.

Link copied to clipboard

The commit id.

Link copied to clipboard

File content.

Link copied to clipboard

File content sha256 digest.

Link copied to clipboard

The file content encoding.

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 filename.

Link copied to clipboard

The full path of the file. It must be relative to the root of the project without a leading slash / or ./.

Link copied to clipboard
val id: String

The provider-assigned unique ID for this managed resource.

Link copied to clipboard

The last known commit id.

Link copied to clipboard

The name or ID of the project.

Link copied to clipboard
val ref: String

The name of branch, tag or commit.

Link copied to clipboard
val size: Int

The file size.