Merge pull request #210 from jpirnay/chore-cacheclean

chore: Consolidate cache directories
This commit is contained in:
jpirnay
2026-05-14 07:04:44 +02:00
committed by GitHub
9 changed files with 60 additions and 28 deletions
+6
View File
@@ -49,6 +49,9 @@ inline bool hasEpubExtension(const String& fileName) {
// Check for either .xtc or .xtch extension (case-insensitive)
bool hasXtcExtension(std::string_view fileName);
inline bool hasXtcExtension(const String& fileName) {
return hasXtcExtension(std::string_view{fileName.c_str(), fileName.length()});
}
// Check for .txt extension (case-insensitive)
bool hasTxtExtension(std::string_view fileName);
@@ -58,5 +61,8 @@ inline bool hasTxtExtension(const String& fileName) {
// Check for .md extension (case-insensitive)
bool hasMarkdownExtension(std::string_view fileName);
inline bool hasMarkdownExtension(const String& fileName) {
return hasMarkdownExtension(std::string_view{fileName.c_str(), fileName.length()});
}
} // namespace FsHelpers