Start adding config reader
This commit is contained in:
parent
6ff9370c4e
commit
cbc9ba77d2
14 changed files with 245 additions and 143 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue