diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2023-01-17 11:25:57 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2023-01-17 11:25:57 +0300 |
commit | 80bbbcd5307d7ae8abacbaa99a2b577f5571f00b (patch) | |
tree | c50bd65ae841ac58f4e16863011100e183ec104a /bpkg/package.hxx | |
parent | 8e20c1ed163be60cb576b5ad8f5d27b6320154a6 (diff) |
Implement system_package_names()
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 { |