#include <repository_name_cache.hh>
Used by various Repository subclasses to implement a names cache.
- See also
- Repository
◆ add()
Add a new package to the cache.
References add().
Referenced by add().
◆ category_names_containing_package()
| std::shared_ptr< const CategoryNamePartSet > paludis::RepositoryNameCache::category_names_containing_package |
( |
const PackageNamePart & | p | ) |
const |
Implement category_names_containing_package.
May return a zero pointer, in which case the repository should fall back to Repository::do_category_names_containing_package or its own implementation.
◆ regenerate_cache()
| void paludis::RepositoryNameCache::regenerate_cache |
( |
| ) |
const |
◆ remove()
◆ usable()
| bool paludis::RepositoryNameCache::usable |
( |
| ) |
const |
|
noexcept |
Whether or not our cache is usable.
Initially this will be true. After the first query the value may change to false (the query will return a zero pointer too).
The documentation for this class was generated from the following file: