Dagger.GitRemote (dagger v1.0.0-beta.18)

Copy Markdown View Source

A named reference to a remote Git repository.

Summary

Functions

A unique identifier for this GitRemote.

The remote's name.

Access this remote's repository using its fetch URL and the caller's credentials, or the source's existing capability for this exact destination.

Types

t()

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

Functions

id(git_remote)

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

A unique identifier for this GitRemote.

name(git_remote)

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

The remote's name.

repository(git_remote)

@spec repository(t()) :: Dagger.GitRepository.t()

Access this remote's repository using its fetch URL and the caller's credentials, or the source's existing capability for this exact destination.

HEAD is the remote's HEAD, independent of the workspace's selected commit. Remote registration alone does not grant credentials.