aboutsummaryrefslogtreecommitdiff
path: root/bdep/sync.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'bdep/sync.hxx')
-rw-r--r--bdep/sync.hxx10
1 files changed, 10 insertions, 0 deletions
diff --git a/bdep/sync.hxx b/bdep/sync.hxx
index 5711a3f..a74b228 100644
--- a/bdep/sync.hxx
+++ b/bdep/sync.hxx
@@ -31,6 +31,16 @@ namespace bdep
bool yes = true,
bool name_cfg = false);
+ // As above but perform an implicit sync without a configuration object
+ // (i.e., as if from the hook).
+ //
+ void
+ cmd_sync_implicit (const common_options&,
+ const dir_path& cfg,
+ bool fetch = true,
+ bool yes = true,
+ bool name_cfg = true);
+
int
cmd_sync (cmd_sync_options&&, cli::group_scanner& args);