MCPcopy Create free account
hub / github.com/NatronGitHub/Natron / isAcceptedByRegexps

Method isAcceptedByRegexps

Engine/FileSystemModel.cpp:990–1006  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

988}
989
990bool
991FileSystemModel::isAcceptedByRegexps(const QString & path) const
992{
993 QMutexLocker l(&_imp->filtersMutex);
994
995 if ( _imp->encodedRegexps.isEmpty() ) {
996 return true;
997 }
998
999 for (std::list<QRegExp>::const_iterator it = _imp->regexps.begin(); it != _imp->regexps.end(); ++it) {
1000 if ( it->exactMatch(path) ) {
1001 return true;
1002 }
1003 }
1004
1005 return false;
1006}
1007
1008void
1009FileSystemModel::setSequenceModeEnabled(bool sequenceMode)

Callers 1

gatheringKernelMethod · 0.80

Calls 3

isEmptyMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected