aboutsummaryrefslogtreecommitdiff
path: root/bdep/init.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2021-05-10 09:48:41 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2021-05-10 10:04:46 +0200
commit49fe24ef1af838494da646b5ee9ab056fed78e0e (patch)
treef672673cca4eed9300320f261b895536528a00a4 /bdep/init.hxx
parent22417a44283c9a0768c99eaa8fc83ebaae95f359 (diff)
Generate .gitignore in .bdep/ to prevent accidentally committing it
Diffstat (limited to 'bdep/init.hxx')
-rw-r--r--bdep/init.hxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/bdep/init.hxx b/bdep/init.hxx
index 475c87e..6a2afd2 100644
--- a/bdep/init.hxx
+++ b/bdep/init.hxx
@@ -49,6 +49,12 @@ namespace bdep
cmd_init_options
merge_options (const default_options<cmd_init_options>&,
const cmd_init_options&);
+
+ // Create the .bdep/ subdirectory in the specified directory if it does not
+ // already exist.
+ //
+ void
+ mk_bdep_dir (const dir_path&);
}
#endif // BDEP_INIT_HXX