aboutsummaryrefslogtreecommitdiff
path: root/bpkg/pkg-unpack.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'bpkg/pkg-unpack.hxx')
-rw-r--r--bpkg/pkg-unpack.hxx10
1 files changed, 7 insertions, 3 deletions
diff --git a/bpkg/pkg-unpack.hxx b/bpkg/pkg-unpack.hxx
index 107322b..7394732 100644
--- a/bpkg/pkg-unpack.hxx
+++ b/bpkg/pkg-unpack.hxx
@@ -23,7 +23,7 @@ namespace bpkg
//
shared_ptr<selected_package>
pkg_unpack (const common_options&,
- const dir_path& configuration,
+ database&,
transaction&,
const dir_path&,
bool replace,
@@ -34,7 +34,7 @@ namespace bpkg
//
shared_ptr<selected_package>
pkg_unpack (const common_options&,
- const dir_path& configuration,
+ database&,
transaction&,
const package_name&,
bool simulate);
@@ -43,9 +43,13 @@ namespace bpkg
// repository and commit the transaction. Return the selected package object
// which may replace the existing one.
//
+ // Note that both package and repository information configurations need to
+ // be passed.
+ //
shared_ptr<selected_package>
pkg_unpack (const common_options&,
- const dir_path& configuration,
+ database& pdb,
+ database& rdb,
transaction&,
package_name,
version,