diff options
Diffstat (limited to 'bpkg/pkg-fetch.hxx')
-rw-r--r-- | bpkg/pkg-fetch.hxx | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/bpkg/pkg-fetch.hxx b/bpkg/pkg-fetch.hxx index e9d753b..8607178 100644 --- a/bpkg/pkg-fetch.hxx +++ b/bpkg/pkg-fetch.hxx @@ -23,7 +23,7 @@ namespace bpkg // shared_ptr<selected_package> pkg_fetch (const common_options&, - const dir_path& configuration, + database&, transaction&, path archive, bool replace, @@ -34,9 +34,15 @@ 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. + // + // Also note that it should be called in session. + // shared_ptr<selected_package> pkg_fetch (const common_options&, - const dir_path& configuration, + database& pdb, + database& rdb, transaction&, package_name, version, |