A git repository.
Summary
Functions
Creates a synthetic workspace from this git repository.
Returns details of a branch.
branches that match any of the given glob patterns.
Returns details of a commit.
Returns details for HEAD.
A unique identifier for this GitRepository.
Return the latest stable release tag, falling back to HEAD when no release exists.
Returns details of a ref.
Returns details of a tag.
tags that match any of the given glob patterns.
Returns the changeset of uncommitted changes in the git repository.
The URL of the git repository.
Types
Functions
@spec as_workspace(t(), [{:cwd, String.t() | nil}]) :: Dagger.Workspace.t()
Creates a synthetic workspace from this git repository.
@spec branch(t(), String.t()) :: Dagger.GitRef.t()
Returns details of a branch.
branches that match any of the given glob patterns.
@spec commit(t(), String.t()) :: Dagger.GitCommit.t()
Returns details of a commit.
@spec head(t()) :: Dagger.GitRef.t()
Returns details for HEAD.
A unique identifier for this GitRepository.
@spec latest(t()) :: Dagger.GitRef.t()
Return the latest stable release tag, falling back to HEAD when no release exists.
Release selection accepts an optional "v" prefix, incomplete versions, and zero-padded numeric components. This operation is pinned.
@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 uncommitted(t()) :: Dagger.Changeset.t()
Returns the changeset of uncommitted changes in the git repository.
The URL of the git repository.