View Source Dagger.GeneratedCode (dagger v0.13.6)

The result of running an SDK's codegen.

Summary

Functions

The directory containing the generated code.

A unique identifier for this GeneratedCode.

List of paths to mark generated in version control (i.e. .gitattributes).

List of paths to ignore in version control (i.e. .gitignore).

Set the list of paths to mark generated in version control.

Set the list of paths to ignore in version control.

Types

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

Functions

@spec code(t()) :: Dagger.Directory.t()

The directory containing the generated code.

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

A unique identifier for this GeneratedCode.

Link to this function

vcs_generated_paths(generated_code)

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

List of paths to mark generated in version control (i.e. .gitattributes).

Link to this function

vcs_ignored_paths(generated_code)

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

List of paths to ignore in version control (i.e. .gitignore).

Link to this function

with_vcs_generated_paths(generated_code, paths)

View Source
@spec with_vcs_generated_paths(t(), [String.t()]) :: t()

Set the list of paths to mark generated in version control.

Link to this function

with_vcs_ignored_paths(generated_code, paths)

View Source
@spec with_vcs_ignored_paths(t(), [String.t()]) :: t()

Set the list of paths to ignore in version control.