Added getNativePath() method to get the OS version of a virtual path.
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user