diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2024-10-16 14:05:03 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2024-10-16 14:05:03 +0200 |
commit | 9cf2dbda0d6a7006a5425c19973bb0a7286392f6 (patch) | |
tree | a32409aa36827c574898f89f196447d801dae6a1 /libbuild2/operation.hxx | |
parent | 881b5b560d055bfb762f17cffb82b22961f36ad2 (diff) |
Stop on first error for install and uninstall operations
Diffstat (limited to 'libbuild2/operation.hxx')
-rw-r--r-- | libbuild2/operation.hxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libbuild2/operation.hxx b/libbuild2/operation.hxx index 7d11161..4ca1305 100644 --- a/libbuild2/operation.hxx +++ b/libbuild2/operation.hxx @@ -235,6 +235,12 @@ namespace build2 // const size_t concurrency; + // Whether to keep going in case of errors for this operation. If the + // value is false, then the context's keep_going flag is overridden for + // the duration of the operation. + // + const bool keep_going; + // The values argument in the callbacks is the operation parameters. If // the operation expects parameters, then it should have a non-NULL // operation_pre() callback. Failed that, any parameters will be diagnosed |