MCPcopy Create free account
hub / github.com/audacity/audacity / FindFilesInPathList

Method FindFilesInPathList

libraries/lib-files/FileNames.cpp:661–678  ·  view source on GitHub ↗

static

Source from the content-addressed store, hash-verified

659
660// static
661void FileNames::FindFilesInPathList(const wxString & pattern,
662 const FilePaths & pathList,
663 FilePaths & results,
664 int flags)
665{
666 wxLogNull nolog;
667
668 if (pattern.empty()) {
669 return;
670 }
671
672 wxFileNameWrapper ff;
673
674 for(size_t i = 0; i < pathList.size(); i++) {
675 ff = pathList[i] + wxFILE_SEP_PATH + pattern;
676 wxDir::GetAllFiles(ff.GetPath(), &results, ff.GetFullName(), flags);
677 }
678}
679
680bool FileNames::WritableLocationCheck(const FilePath& path,
681 const TranslatableString & message)

Callers 5

FindModulePathsMethod · 0.45
AutoRegisterPluginsMethod · 0.45
FindModulePathsMethod · 0.45
AutoRegisterPluginsMethod · 0.45
FindModulePathsMethod · 0.45

Calls 4

GetFullNameMethod · 0.80
emptyMethod · 0.45
sizeMethod · 0.45
GetPathMethod · 0.45

Tested by

no test coverage detected