mirror of
https://github.com/luanti-org/luanti.git
synced 2025-11-28 11:45:29 +01: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