Nix 2.35.2
Nix, the purely functional package manager; unstable internal interfaces
Loading...
Searching...
No Matches
nix::RegexMatcher Struct Referencefinal
Inheritance diagram for nix::RegexMatcher:
nix::Matcher

Public Member Functions

 RegexMatcher (const std::string &pattern)
std::string getTitle () override
bool matches (const std::string &name, const ProfileElement &element) override

Public Attributes

std::regex regex
std::string pattern

Member Function Documentation

◆ getTitle()

std::string nix::RegexMatcher::getTitle ( )
inlineoverridevirtual

Implements nix::Matcher.

◆ matches()

bool nix::RegexMatcher::matches ( const std::string & name,
const ProfileElement & element )
inlineoverridevirtual

Implements nix::Matcher.


The documentation for this struct was generated from the following file:
  • /builddir/build/BUILD/nix-2.35.2-build/nix-2.35.2/src/nix/profile.cc