Dagger.WorkspaceGit (dagger v1.0.0-beta.13)

Copy Markdown View Source

Local git state for a workspace.

Summary

Functions

The checked-out HEAD of this workspace.

A unique identifier for this WorkspaceGit.

Uncommitted changes in this workspace, using the same rules as GitRepository.uncommitted.

Types

t()

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

Functions

head(workspace_git)

@spec head(t()) :: Dagger.GitRef.t()

The checked-out HEAD of this workspace.

id(workspace_git)

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

A unique identifier for this WorkspaceGit.

uncommitted(workspace_git)

@spec uncommitted(t()) :: Dagger.Changeset.t()

Uncommitted changes in this workspace, using the same rules as GitRepository.uncommitted.