diff options
author | eldritch horrors <pennae@lix.systems> | 2024-08-02 17:00:57 +0200 |
---|---|---|
committer | eldritch horrors <pennae@lix.systems> | 2024-08-08 12:02:17 +0000 |
commit | ba85e501ced59838d36f36cb545bcc6f7bc30561 (patch) | |
tree | a41cd7ead24ba600bb303186cab5527f97cd12f7 /src/libstore/build/worker.hh | |
parent | fc987b412385a3b10d58eabd516acc7ff3b27b11 (diff) |
libstore: make Worker status flags private
Change-Id: I16ec8994c6448d70b686a2e4c10f19d4e240750d
Diffstat (limited to 'src/libstore/build/worker.hh')
-rw-r--r-- | src/libstore/build/worker.hh | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/src/libstore/build/worker.hh b/src/libstore/build/worker.hh index 20aa34e74..6e7c1c626 100644 --- a/src/libstore/build/worker.hh +++ b/src/libstore/build/worker.hh @@ -105,6 +105,27 @@ private: */ std::map<StorePath, bool> pathContentsGoodCache; + /** + * Set if at least one derivation had a BuildError (i.e. permanent + * failure). + */ + bool permanentFailure = false; + + /** + * Set if at least one derivation had a timeout. + */ + bool timedOut = false; + + /** + * Set if at least one derivation fails with a hash mismatch. + */ + bool hashMismatch = false; + + /** + * Set if at least one derivation is not deterministic in check mode. + */ + bool checkMismatch = false; + void goalFinished(GoalPtr goal, Goal::Finished & f); void handleWorkResult(GoalPtr goal, Goal::WorkResult how); @@ -133,27 +154,6 @@ public: const Activity actDerivations; const Activity actSubstitutions; - /** - * Set if at least one derivation had a BuildError (i.e. permanent - * failure). - */ - bool permanentFailure; - - /** - * Set if at least one derivation had a timeout. - */ - bool timedOut; - - /** - * Set if at least one derivation fails with a hash mismatch. - */ - bool hashMismatch; - - /** - * Set if at least one derivation is not deterministic in check mode. - */ - bool checkMismatch; - Store & store; Store & evalStore; |