View Source Dagger.GitRef (dagger v0.13.6)

A git ref (tag, branch, or commit).

Summary

Functions

The resolved commit id at this ref.

A unique identifier for this GitRef.

The filesystem tree at this ref.

Types

@type t() :: %Dagger.GitRef{client: term(), query_builder: term()}

Functions

@spec commit(t()) :: {:ok, String.t()} | {:error, term()}

The resolved commit id at this ref.

@spec id(t()) :: {:ok, Dagger.GitRefID.t()} | {:error, term()}

A unique identifier for this GitRef.

Link to this function

tree(git_ref, optional_args \\ [])

View Source
@spec tree(t(), [{:discard_git_dir, boolean() | nil}]) :: Dagger.Directory.t()

The filesystem tree at this ref.