View Source Dagger.GitRef (dagger v0.9.11)

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

Link to this section Summary

Functions

The resolved commit id at this ref.

A unique identifier for this GitRef.

The filesystem tree at this ref.

Link to this section Types

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

Link to this section Functions

@spec commit(t()) :: {:ok, Dagger.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(),
  keyword()
) :: Dagger.Directory.t()

The filesystem tree at this ref.

optional-arguments

Optional Arguments

  • ssh_known_hosts - DEPRECATED: This option should be passed to git instead.
  • ssh_auth_socket - DEPRECATED: This option should be passed to git instead.