View Source Dagger.GitRepository (dagger v0.13.6)
A git repository.
Summary
Functions
Returns details of a branch.
Returns details of a commit.
Returns details for HEAD.
A unique identifier for this GitRepository.
Returns details of a ref.
Returns details of a tag.
tags that match any of the given glob patterns.
Header to authenticate the remote with.
Token to authenticate the remote with.
Types
Functions
@spec branch(t(), String.t()) :: Dagger.GitRef.t()
Returns details of a branch.
@spec commit(t(), String.t()) :: Dagger.GitRef.t()
Returns details of a commit.
@spec head(t()) :: Dagger.GitRef.t()
Returns details for HEAD.
@spec id(t()) :: {:ok, Dagger.GitRepositoryID.t()} | {:error, term()}
A unique identifier for this GitRepository.
@spec ref(t(), String.t()) :: Dagger.GitRef.t()
Returns details of a ref.
@spec tag(t(), String.t()) :: Dagger.GitRef.t()
Returns details of a tag.
tags that match any of the given glob patterns.
@spec with_auth_header(t(), Dagger.Secret.t()) :: t()
Header to authenticate the remote with.
@spec with_auth_token(t(), Dagger.Secret.t()) :: t()
Token to authenticate the remote with.