MCPcopy Create free account
hub / github.com/BlitterStudio/amiberry / SearchForExts

Method SearchForExts

external/ImGuiFileDialog/ImGuiFileDialog.cpp:1850–1860  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1848}
1849
1850bool 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
1862bool IGFD::FileInfos::FinalizeFileTypeParsing(const size_t& vMaxDotToExtract) {
1863 if (fileType.isFile() || fileType.isLinkToUnknown()) { // link can have the same extention of a file

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected