View Source Dagger.GitRef (dagger v0.12.3)

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(), selection: 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.

@spec tree(t()) :: Dagger.Directory.t()

The filesystem tree at this ref.