|
| enum | ExitCode { ecSuccess
, ecFailed
, ecNoSubstituters
, ecIncompleteClosure
} |
|
|
| Goal (Worker &worker, bool isDependency) |
|
kj::Promise< Result< WorkResult > > | work () noexcept |
|
virtual void | waiteeDone (GoalPtr waitee) |
|
void | trace (std::string_view s) |
|
std::string | getName () const |
|
virtual void | cleanup () |
| virtual JobCategory | jobCategory () const =0 |
| | Hint for the scheduler, which concurrency limit applies.
|
|
|
kj::Promise< void > | waitForAWhile () |
|
kj::Promise< Result< void > > | waitForGoals (kj::Array< std::pair< GoalPtr, kj::Promise< Result< WorkResult > > > > dependencies) noexcept |
|
template<std::derived_from< Goal >... G> |
| kj::Promise< Result< void > > | waitForGoals (std::pair< std::shared_ptr< G >, kj::Promise< Result< WorkResult > > >... goals) noexcept |
|
virtual kj::Promise< Result< WorkResult > > | workImpl () noexcept=0 |
|
std::string | lixAsyncTaskContext () const |
◆ jobCategory()
◆ isDependency
| const bool nix::Goal::isDependency |
Whether this goal is only a dependency of other goals. Toplevel goals that are also dependencies of other toplevel goals do not set this, only goals that are exclusively dependencies do this.
◆ name
| std::string nix::Goal::name |
Name of this goal for debugging purposes.
◆ nrFailed
| size_t nix::Goal::nrFailed = 0 |
Number of goals we are/were waiting for that have failed.
◆ nrIncompleteClosure
| size_t nix::Goal::nrIncompleteClosure = 0 |
Number of substitution goals we are/were waiting for that failed because they had unsubstitutable references.
◆ nrNoSubstituters
| size_t nix::Goal::nrNoSubstituters = 0 |
Number of substitution goals we are/were waiting for that failed because there are no substituters.
◆ worker
The documentation for this struct was generated from the following files:
- lix/libstore/build/goal.hh
- lix/libstore/build/goal.cc