Added getNativePath() method to get the OS version of a virtual path.

This commit is contained in:
2024-07-27 11:04:38 +02:00
parent 9b4425c495
commit e82c697d2e
5 changed files with 35 additions and 0 deletions

View File

@@ -107,6 +107,11 @@ FileInfo OSFileSystemAdapter::getFileInfo(const fs::path& file)
return info;
}
Optional<fs::path> OSFileSystemAdapter::getNativePath(const fs::path& file)
{
return file;
}
StreamError OSFileSystemAdapter::open(const fs::path& path, FileOpenMode mode, std::unique_ptr<Stream>& outStream)
{
const std::string pathStr = path.string();