View Source Dagger.GitRepository (dagger v0.9.9)
A git repository.
Link to this section Summary
Functions
Returns details of a branch.
Returns details of a commit.
A unique identifier for this GitRepository.
Returns details of a ref.
Returns details of a tag.
Link to this section Types
Link to this section Functions
@spec branch(t(), Dagger.String.t()) :: Dagger.GitRef.t()
Returns details of a branch.
required-arguments
Required Arguments
name
- Branch's name (e.g., "main").
@spec commit(t(), Dagger.String.t()) :: Dagger.GitRef.t()
Returns details of a commit.
required-arguments
Required Arguments
id
- Identifier of the commit (e.g., "b6315d8f2810962c601af73f86831f6866ea798b").
@spec id(t()) :: {:ok, Dagger.GitRepositoryID.t()} | {:error, term()}
A unique identifier for this GitRepository.
@spec ref(t(), Dagger.String.t()) :: Dagger.GitRef.t()
Returns details of a ref.
required-arguments
Required Arguments
name
- Ref's name (can be a commit identifier, a tag name, a branch name, or a fully-qualified ref).
@spec tag(t(), Dagger.String.t()) :: Dagger.GitRef.t()
Returns details of a tag.
required-arguments
Required Arguments
name
- Tag's name (e.g., "v0.3.9").