Start adding config reader

This commit is contained in:
jmsgrogan 2022-10-09 17:39:46 +01:00
parent 6ff9370c4e
commit cbc9ba77d2
14 changed files with 245 additions and 143 deletions

View file

@ -100,9 +100,9 @@ std::vector<std::string> File::readLines()
return content;
}
std::string File::getBaseFilename(const std::string& path)
std::string File::getBaseFilename(const Path& path)
{
return std::filesystem::path(path).stem();
return path.stem().string();
}
std::string File::ReadText()