aboutsummaryrefslogtreecommitdiff
path: root/bpkg/pkg-checkout.hxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2020-09-30 21:39:50 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2020-10-01 17:00:18 +0300
commit6b610aea9096ce64ae769708a53041653333e155 (patch)
tree624200a7766ea33bfe1cf0ba18319776e5fd1d5b /bpkg/pkg-checkout.hxx
parent990ef03a7b006874ec66e26cd96fca3fdda95b12 (diff)
Add --output-{root,purge} options to pkg-checkout
Diffstat (limited to 'bpkg/pkg-checkout.hxx')
-rw-r--r--bpkg/pkg-checkout.hxx18
1 files changed, 17 insertions, 1 deletions
diff --git a/bpkg/pkg-checkout.hxx b/bpkg/pkg-checkout.hxx
index 8e106dd..47b1ad0 100644
--- a/bpkg/pkg-checkout.hxx
+++ b/bpkg/pkg-checkout.hxx
@@ -18,8 +18,24 @@ namespace bpkg
int
pkg_checkout (const pkg_checkout_options&, cli::scanner& args);
+ // Check out the package from a version control-based repository into a
+ // directory other than the configuration directory and commit the
+ // transaction. Return the selected package object which may replace the
+ // existing one.
+ //
+ shared_ptr<selected_package>
+ pkg_checkout (const common_options&,
+ const dir_path& configuration,
+ transaction&,
+ package_name,
+ version,
+ const dir_path& output_root,
+ bool replace,
+ bool purge,
+ bool simulate);
+
// Check out the package from a version control-based repository and commit
- // the transaction. Can return a new selected package object, replacing the
+ // the transaction. Return the selected package object which may replace the
// existing one.
//
shared_ptr<selected_package>