Some more FS fixes.
This commit is contained in:
@@ -71,6 +71,10 @@ std::vector<FileInfo> MappingFileSystemAdapter<TWrapped>::listFiles(const fs::pa
|
||||
result = wrapped_.listFiles(adjusted);
|
||||
for (FileInfo& fileInfo : result)
|
||||
{
|
||||
if (fileInfo.path.is_absolute())
|
||||
{
|
||||
fileInfo.path = fs::relative(fileInfo.path, "/");
|
||||
}
|
||||
fileInfo.path = root_ / fileInfo.path;
|
||||
}
|
||||
return result;
|
||||
|
||||
Reference in New Issue
Block a user