| 1848 | } |
| 1849 | |
| 1850 | bool IGFD::FileInfos::SearchForExts(const std::string& vComaSepExts, const bool vIsCaseInsensitive, const size_t& vMaxLevel) const { |
| 1851 | if (!vComaSepExts.empty()) { |
| 1852 | const auto& arr = Utils::SplitStringToVector(vComaSepExts, ',', false); |
| 1853 | for (const auto& a : arr) { |
| 1854 | if (SearchForExt(a, vIsCaseInsensitive, vMaxLevel)) { |
| 1855 | return true; |
| 1856 | } |
| 1857 | } |
| 1858 | } |
| 1859 | return false; |
| 1860 | } |
| 1861 | |
| 1862 | bool IGFD::FileInfos::FinalizeFileTypeParsing(const size_t& vMaxDotToExtract) { |
| 1863 | if (fileType.isFile() || fileType.isLinkToUnknown()) { // link can have the same extention of a file |
no test coverage detected