diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2023-02-22 10:20:14 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2023-02-22 10:20:14 +0200 |
commit | 5837974ede1f489fe1e65cb10188f776fb6d1974 (patch) | |
tree | 958b345fd8b3490b358ca0807a1d3c220fc89fab /bpkg/system-package-manager.hxx | |
parent | 10827e2338f9390383c30c95a2cbbfd733d76088 (diff) |
WIP
Diffstat (limited to 'bpkg/system-package-manager.hxx')
-rw-r--r-- | bpkg/system-package-manager.hxx | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/bpkg/system-package-manager.hxx b/bpkg/system-package-manager.hxx index 29449f6..28b0c17 100644 --- a/bpkg/system-package-manager.hxx +++ b/bpkg/system-package-manager.hxx @@ -156,7 +156,8 @@ namespace bpkg // // The available packages are loaded for all the packages in pkgs and // deps. For non-system packages (so for all in pkgs) there is always a - // single available package that corresponds to the selected package. + // single available package that corresponds to the selected package. The + // out_root is only set for packages in pkgs. // // The passed package manifest corresponds to the first package in pkgs // (normally used as a source of additional package metadata such as @@ -171,8 +172,14 @@ namespace bpkg // See the pkg-bindist(1) man page and the pkg_bindist() function // implementation for background and details. // - using packages = - vector<pair<shared_ptr<selected_package>, available_packages>>; + struct package // @@ TODO: any better name? + { + shared_ptr<selected_package> selected; + available_packages available; + dir_path out_root; // Absolute and normalized. + }; + + using packages = vector<package>; enum class recursive_mode {auto_, full}; |