From 6b610aea9096ce64ae769708a53041653333e155 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Wed, 30 Sep 2020 21:39:50 +0300 Subject: Add --output-{root,purge} options to pkg-checkout --- bpkg/pkg-checkout.hxx | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) (limited to 'bpkg/pkg-checkout.hxx') 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 + 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 -- cgit v1.1