View Source Dagger.GeneratedCode (dagger v0.15.1)

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

t()

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

Functions

code(generated_code)

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

The directory containing the generated code.

id(generated_code)

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

A unique identifier for this GeneratedCode.

vcs_generated_paths(generated_code)

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

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

vcs_ignored_paths(generated_code)

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

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

with_vcs_generated_paths(generated_code, paths)

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

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

with_vcs_ignored_paths(generated_code, paths)

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

Set the list of paths to ignore in version control.