Merge pull request #210 from jpirnay/chore-cacheclean
chore: Consolidate cache directories
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user