aboutsummaryrefslogtreecommitdiff
path: root/bpkg/utility.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'bpkg/utility.hxx')
-rw-r--r--bpkg/utility.hxx11
1 files changed, 9 insertions, 2 deletions
diff --git a/bpkg/utility.hxx b/bpkg/utility.hxx
index f4f8690..05835b0 100644
--- a/bpkg/utility.hxx
+++ b/bpkg/utility.hxx
@@ -52,8 +52,10 @@ namespace bpkg
// Widely-used paths.
//
- extern const dir_path bpkg_dir; // .bpkg/
- extern const dir_path certs_dir; // .bpkg/certs/
+ extern const dir_path bpkg_dir; // .bpkg/
+ extern const dir_path certs_dir; // .bpkg/certificates/
+ extern const dir_path repos_dir; // .bpkg/repositories/
+ extern const dir_path current_dir; // ./
// Temporary directory facility.
//
@@ -63,6 +65,8 @@ namespace bpkg
// you don't need to call init_tmp() explicitly except for certain special
// commands (like cfg-create).
//
+ extern dir_path temp_dir;
+
auto_rmfile
tmp_file (const string& prefix);
@@ -109,6 +113,9 @@ namespace bpkg
uint16_t verbosity = 3,
bool ignore_error = false);
+ void
+ mv (const dir_path& from, const dir_path& to);
+
// Process.
//
// By default the process command line is printed for verbosity >= 2