diff options
Diffstat (limited to '')
-rw-r--r-- | run-command.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/run-command.h b/run-command.h index 1f22cc3..55f6631 100644 --- a/run-command.h +++ b/run-command.h @@ -218,6 +218,13 @@ int finish_command_in_signal(struct child_process *); int run_command(struct child_process *); /* + * Prepare a `struct child_process` to run auto-maintenance. Returns 1 if the + * process has been prepared and is ready to run, or 0 in case auto-maintenance + * should be skipped. + */ +int prepare_auto_maintenance(int quiet, struct child_process *maint); + +/* * Trigger an auto-gc */ int run_auto_maintenance(int quiet); |