apt 3.0.3
commandline package manager
Public Member Functions | List of all members
pkgDepCache::DefaultRootSetFunc Class Reference

Returns true for packages matching a regular expression in APT::NeverAutoRemove. More...

#include <apt-pkg/depcache.h>

Inheritance diagram for pkgDepCache::DefaultRootSetFunc:
[legend]
Collaboration diagram for pkgDepCache::DefaultRootSetFunc:
[legend]

Public Member Functions

bool InRootSet (const pkgCache::PkgIterator &pkg) override
 
- Public Member Functions inherited from Configuration::MatchAgainstConfig
 MatchAgainstConfig (char const *Config)
 
bool Match (char const *str) const
 Returns true for a string matching one of the patterns.
 
bool Match (std::string const &str) const
 
bool wasConstructedSuccessfully () const
 returns if the matcher setup was successful
 

Detailed Description

Returns true for packages matching a regular expression in APT::NeverAutoRemove.

Member Function Documentation

◆ InRootSet()

bool InRootSet ( const pkgCache::PkgIterator &  pkg)
inlineoverridevirtual

Reimplemented from pkgDepCache::InRootSetFunc.


The documentation for this class was generated from the following file: