mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 08:35:20 +02:00
Refactor ModConfiguration
This commit is contained in:
@@ -60,6 +60,11 @@ bool IsPathAbsolute(const std::string &path);
|
||||
|
||||
bool IsDir(const std::string &path);
|
||||
|
||||
inline bool IsFile(const std::string &path)
|
||||
{
|
||||
return PathExists(path) && !IsDir(path);
|
||||
}
|
||||
|
||||
bool IsDirDelimiter(char c);
|
||||
|
||||
// Only pass full paths to this one. True on success.
|
||||
|
Reference in New Issue
Block a user