aboutsummaryrefslogtreecommitdiff
path: root/bpkg/utility.hxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2019-11-01 15:53:40 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2019-11-01 17:58:27 +0300
commitb1f343f5d20ea0c52a7265d134094035da13b806 (patch)
tree56529e03437e93791efa0473be89d29a23d08d2b /bpkg/utility.hxx
parentaf498a19d6c9c42748521225b7daae671a5f58b5 (diff)
Add --package-cwd option to bpkg-pkg-test
Diffstat (limited to 'bpkg/utility.hxx')
-rw-r--r--bpkg/utility.hxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/bpkg/utility.hxx b/bpkg/utility.hxx
index 484b394..81aedf0 100644
--- a/bpkg/utility.hxx
+++ b/bpkg/utility.hxx
@@ -161,6 +161,12 @@ namespace bpkg
void
mv (const dir_path& from, const dir_path& to);
+ // Set (with diagnostics at verbosity level 3 or higher) the new and return
+ // the previous working directory.
+ //
+ dir_path
+ change_wd (const dir_path&);
+
// File descriptor streams.
//
fdpipe