diff options
Diffstat (limited to 'bpkg/package.hxx')
-rw-r--r-- | bpkg/package.hxx | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/bpkg/package.hxx b/bpkg/package.hxx index 14cd296..6afc624 100644 --- a/bpkg/package.hxx +++ b/bpkg/package.hxx @@ -882,6 +882,15 @@ namespace bpkg available_package () = default; }; + // The available packages together with the repository fragments they belong + // to. + // + // Note that lazy_shared_ptr is used to also convey the databases the + // objects belong to. + // + using available_packages = vector<pair<shared_ptr<available_package>, + lazy_shared_ptr<repository_fragment>>>; + #pragma db view object(available_package) struct available_package_count { |