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

Function FindFilesInPathList

libraries/lib-strings/Languages.cpp:55–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53using ReverseLangHash = std::unordered_map<TranslatableString, wxString>;
54
55static void FindFilesInPathList(const wxString & pattern,
56 const FilePaths & pathList, FilePaths & results)
57{
58 wxFileName ff;
59 for (const auto &path : pathList) {
60 ff = path + wxFILE_SEP_PATH + pattern;
61 wxDir::GetAllFiles(ff.GetPath(), &results, ff.GetFullName(), wxDIR_FILES);
62 }
63}
64
65static bool TranslationExists(const FilePaths &pathList, wxString code)
66{

Callers 3

FindModulesMethod · 0.85
DiscoverProvidersMethod · 0.85
TranslationExistsFunction · 0.85

Calls 2

GetFullNameMethod · 0.80
GetPathMethod · 0.45

Tested by

no test coverage detected