View Source Dagger.GeneratedCode (dagger v0.10.0)

The result of running an SDK's codegen.

Link to this section 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.

Link to this section Types

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

Link to this section 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, [Dagger.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, [Dagger.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(), [Dagger.String.t()]) :: t()

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

required-arguments

Required Arguments

  • paths -
Link to this function

with_vcs_ignored_paths(generated_code, paths)

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

Set the list of paths to ignore in version control.

required-arguments

Required Arguments

  • paths -