Open Folder in File Explorer

This commit is contained in:
émeryc
2023-07-12 21:41:09 -04:00
parent e90776e6bb
commit 12e7cb0625
10 changed files with 46 additions and 14 deletions

View File

@@ -124,6 +124,12 @@ namespace Nuake
return fs::relative(absolutePath, rootPath).generic_string();
}
std::string FileSystem::RemoveFileFromPath(const std::string& fullPath)
{
std::filesystem::path pathObj(fullPath);
return pathObj.parent_path().string();
}
std::string FileSystem::ReadFile(const std::string& path, bool absolute)
{
std::string finalPath = path;