MCPcopy Create free account
hub / github.com/MhmRdd/NoHello / matches

Method matches

module/src/main/cpp/MountRuleParser.cpp:21–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19 }
20
21 bool matches(const std::string& root, const std::string& mountPoint,
22 const std::string& fsType, const std::string& source) const {
23 return matchList(rootSubstrs, root) &&
24 matchList(mountPointSubstrs, mountPoint) &&
25 (fsTypes.empty() || fsTypes.count(fsType) > 0) &&
26 matchSourceList(sources, source);
27 }
28
29 bool matches(const std::vector<std::string>& roots, const std::string& mountPoint,
30 const std::string& fsType, const std::string& source) const {

Callers 1

anomalyFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected