A git ref (tag, branch, or commit).
Summary
Functions
Creates a synthetic workspace from this git ref.
The resolved commit id at this ref.
The resolved commit SHA at this ref.
Find the best common ancestor between this ref and another ref.
A unique identifier for this GitRef.
Commits reachable from this ref, newest first, starting with the commit this ref resolves to.
The resolved name of this ref.
The resolved ref name at this ref.
The commit this ref resolves to.
The filesystem tree at this ref.
Types
Functions
@spec as_workspace(t(), [{:cwd, String.t() | nil}]) :: Dagger.Workspace.t()
Creates a synthetic workspace from this git ref.
The resolved commit id at this ref.
The resolved commit SHA at this ref.
Find the best common ancestor between this ref and another ref.
A unique identifier for this GitRef.
@spec log(t(), limit: integer() | nil, paths: [String.t()], base: t() | nil) :: {:ok, [Dagger.GitCommit.t()]} | {:error, term()}
Commits reachable from this ref, newest first, starting with the commit this ref resolves to.
The resolved name of this ref.
The resolved ref name at this ref.
@spec target_commit(t()) :: Dagger.GitCommit.t()
The commit this ref resolves to.
@spec tree(t(), discard_git_dir: boolean() | nil, depth: integer() | nil, include_tags: boolean() | nil ) :: Dagger.Directory.t()
The filesystem tree at this ref.