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

Copy Markdown View Source

A receipt for a completed Git push. Reading or replaying the receipt does not push again.

Summary

Functions

How the remote ref was updated.

A unique identifier for this GitPushResult.

The previous remote object ID; empty when the ref was created.

The fully qualified remote ref.

The object ID pushed to the remote.

Types

t()

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

Functions

disposition(git_push_result)

@spec disposition(t()) :: {:ok, Dagger.GitPushDisposition.t()} | {:error, term()}

How the remote ref was updated.

id(git_push_result)

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

A unique identifier for this GitPushResult.

previous_sha(git_push_result)

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

The previous remote object ID; empty when the ref was created.

ref(git_push_result)

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

The fully qualified remote ref.

sha(git_push_result)

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

The object ID pushed to the remote.