diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2020-09-30 21:39:50 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2020-10-01 17:00:18 +0300 |
commit | 6b610aea9096ce64ae769708a53041653333e155 (patch) | |
tree | 624200a7766ea33bfe1cf0ba18319776e5fd1d5b /bpkg/pkg-checkout.hxx | |
parent | 990ef03a7b006874ec66e26cd96fca3fdda95b12 (diff) |
Add --output-{root,purge} options to pkg-checkout
Diffstat (limited to 'bpkg/pkg-checkout.hxx')
-rw-r--r-- | bpkg/pkg-checkout.hxx | 18 |
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> |