View Source Dagger.GitModuleSource (dagger v0.10.2)
Module source originating from a git repo.
Link to this section Summary
Functions
The URL from which the source's git repo can be cloned.
The resolved commit of the git repo this source points to.
The directory containing everything needed to load load and use the module.
The URL to the source's git repo in a web browser
A unique identifier for this GitModuleSource.
The path to the root of the module source under the context directory. This directory contains its configuration file. It also contains its source code (possibly as a subdirectory).
The specified version of the git repo this source points to.
Link to this section Types
Link to this section Functions
@spec clone_url(t()) :: {:ok, Dagger.String.t()} | {:error, term()}
The URL from which the source's git repo can be cloned.
@spec commit(t()) :: {:ok, Dagger.String.t()} | {:error, term()}
The resolved commit of the git repo this source points to.
@spec context_directory(t()) :: Dagger.Directory.t()
The directory containing everything needed to load load and use the module.
@spec html_url(t()) :: {:ok, Dagger.String.t()} | {:error, term()}
The URL to the source's git repo in a web browser
@spec id(t()) :: {:ok, Dagger.GitModuleSourceID.t()} | {:error, term()}
A unique identifier for this GitModuleSource.
@spec root_subpath(t()) :: {:ok, Dagger.String.t()} | {:error, term()}
The path to the root of the module source under the context directory. This directory contains its configuration file. It also contains its source code (possibly as a subdirectory).
@spec version(t()) :: {:ok, Dagger.String.t()} | {:error, term()}
The specified version of the git repo this source points to.