static
| 659 | |
| 660 | // static |
| 661 | void 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 | |
| 680 | bool FileNames::WritableLocationCheck(const FilePath& path, |
| 681 | const TranslatableString & message) |
no test coverage detected