sun::cli::DependencyPathVariables

sun::cli::DependencyPathVariables

class · Source (opens in a new tab)

class sun::cli::DependencyPathVariables

Applies consuming-project variables during a Git entrypoint build only.

Public Functions

DependencyPathVariables

DependencyPathVariables(const sun::driver::SunConfig &config, const sun::driver::ConfigEntrypoint &entry)

public · function · Source (opens in a new tab)

sun::cli::DependencyPathVariables::DependencyPathVariables(const sun::driver::SunConfig &config, const sun::driver::ConfigEntrypoint &entry)

Saves the previous overrides and selects this entrypoint's project values.

Related: sun::driver::SunConfig, sun::driver::ConfigEntrypoint

DependencyPathVariables(const DependencyPathVariables &)=delete

public · function · Source (opens in a new tab)

sun::cli::DependencyPathVariables::DependencyPathVariables(const DependencyPathVariables &)=delete

Prevents duplicating the responsibility to restore overrides.

operator=

public · function · Source (opens in a new tab)

DependencyPathVariables & sun::cli::DependencyPathVariables::operator=(const DependencyPathVariables &)=delete

Prevents replacing a scope responsible for restoring overrides.

Related: DependencyPathVariables

~DependencyPathVariables

public · function · Source (opens in a new tab)

sun::cli::DependencyPathVariables::~DependencyPathVariables()

Restores the overrides that were active before this entrypoint.

Private Fields

previous_

private · variable · Source (opens in a new tab)

std::map<std::string, std::string> sun::cli::DependencyPathVariables::previous_

No documentation comment.