RepositoryRefDefinitionResponse

data class RepositoryRefDefinitionResponse(val branch: String? = null, val commit: String? = null, val semver: String? = null, val tag: String? = null)

The source reference for the GitRepository object.

Constructors

Link copied to clipboard
constructor(branch: String? = null, commit: String? = null, semver: String? = null, tag: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val branch: String? = null

The git repository branch name to checkout.

Link copied to clipboard
val commit: String? = null

The commit SHA to checkout. This value must be combined with the branch name to be valid. This takes precedence over semver.

Link copied to clipboard
val semver: String? = null

The semver range used to match against git repository tags. This takes precedence over tag.

Link copied to clipboard
val tag: String? = null

The git repository tag name to checkout. This takes precedence over branch.