View Source Dagger.GitModuleRef (dagger v0.10.0)

A reference to a module loaded from a git repo.

Link to this section Summary

Functions

The URL from which the ref's git repo can be cloned from

The URL to the ref's git repo in a web browser

A unique identifier for this GitModuleRef.

Link to this section Types

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

Link to this section Functions

Link to this function

clone_url(git_module_ref)

View Source
@spec clone_url(t()) :: {:ok, Dagger.String.t()} | {:error, term()}

The URL from which the ref's git repo can be cloned from

@spec commit(t()) :: {:ok, Dagger.String.t()} | {:error, term()}
Link to this function

html_url(git_module_ref)

View Source
@spec html_url(t()) :: {:ok, Dagger.String.t()} | {:error, term()}

The URL to the ref's git repo in a web browser

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

A unique identifier for this GitModuleRef.

Link to this function

module_source_path(git_module_ref)

View Source
@spec module_source_path(t()) :: {:ok, Dagger.String.t()} | {:error, term()}
@spec version(t()) :: {:ok, Dagger.String.t()} | {:error, term()}