Dagger.WorkspaceCommitPick (dagger v1.0.0-beta.19)

Copy Markdown View Source

A source commit classified against the receiving workspace.

Summary

Functions

The commit in the source workspace.

Workspace-root-relative conflicting paths. Empty unless the status is CONFLICT.

A unique identifier for this WorkspaceCommitPick.

Why the commit conflicts, or NONE.

Whether this commit can be applied.

Types

t()

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

Functions

commit(workspace_commit_pick)

@spec commit(t()) :: Dagger.GitCommit.t()

The commit in the source workspace.

conflict_paths(workspace_commit_pick)

@spec conflict_paths(t()) :: {:ok, [String.t()]} | {:error, term()}

Workspace-root-relative conflicting paths. Empty unless the status is CONFLICT.

id(workspace_commit_pick)

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

A unique identifier for this WorkspaceCommitPick.

reason(workspace_commit_pick)

@spec reason(t()) :: {:ok, Dagger.WorkspaceCommitPickReason.t()} | {:error, term()}

Why the commit conflicts, or NONE.

status(workspace_commit_pick)

@spec status(t()) :: {:ok, Dagger.WorkspaceCommitPickStatus.t()} | {:error, term()}

Whether this commit can be applied.