aboutsummaryrefslogtreecommitdiff
path: root/bpkg/pkg-fetch.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'bpkg/pkg-fetch.hxx')
-rw-r--r--bpkg/pkg-fetch.hxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/bpkg/pkg-fetch.hxx b/bpkg/pkg-fetch.hxx
index 9dd53f6..5d698d5 100644
--- a/bpkg/pkg-fetch.hxx
+++ b/bpkg/pkg-fetch.hxx
@@ -34,9 +34,13 @@ namespace bpkg
// 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_fetch (const common_options&,
- database&,
+ database& pdb,
+ database& rdb,
transaction&,
package_name,
version,