sun::support::BuildProgressScope

sun::support::BuildProgressScope

class · Source (opens in a new tab)

class sun::support::BuildProgressScope

Labels configured outputs by entrypoint identity until this scope ends.

Public Functions

BuildProgressScope

BuildProgressScope(const BuildProgressScope &)=delete

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

sun::support::BuildProgressScope::BuildProgressScope(const BuildProgressScope &)=delete

Keeps restoration tied to the original scope.

BuildProgressScope(const std::string &identity, const std::filesystem::path &output, const std::filesystem::path &tests)

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

sun::support::BuildProgressScope::BuildProgressScope(const std::string &identity, const std::filesystem::path &output, const std::filesystem::path &tests)

Selects the production and test labels, for example example/ui/viewc.

param

  • identity: Configured package and entrypoint ID.

  • output: Production artifact path.

  • tests: Optional companion test artifact path.

operator=

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

BuildProgressScope & sun::support::BuildProgressScope::operator=(const BuildProgressScope &)=delete

Prevents replacing an active scope.

Related: BuildProgressScope

~BuildProgressScope

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

sun::support::BuildProgressScope::~BuildProgressScope()

Restores labels belonging to the enclosing build.

Private Fields

previous_

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

std::array<std::pair<std::filesystem::path, std::string>, 2> sun::support::BuildProgressScope::previous_

No documentation comment.