Actual fix for DATADIR

This commit is contained in:
mathusummut
2019-04-04 23:25:28 +02:00
parent 73cc3dcf4e
commit aa7c0b4dca
3 changed files with 4 additions and 3 deletions

View File

@@ -240,7 +240,7 @@ namespace Shared {
bool StartsWith(const std::string &str, const std::string &key);
bool EndsWith(const string &str, const string& key);
void endPathWithSlash(string &path, bool requireOSSlash = false);
string endPathWithSlash(string &path, bool requireOSSlash = false);
void trimPathWithStartingSlash(string &path);
void updatePathClimbingParts(string &path, bool processPreviousDirTokenCheck = true);
string formatPath(string path);