lib/fs: Treat Windows junctions as normal directories (#6606)

Fixes #1830, presumably.
This commit is contained in:
xarx00
2020-05-13 21:46:24 +02:00
committed by GitHub
parent 3ad049184e
commit ee445e35a0
8 changed files with 242 additions and 8 deletions
+1 -1
View File
@@ -297,7 +297,7 @@ func (f *BasicFilesystem) SameFile(fi1, fi2 FileInfo) bool {
return false
}
return os.SameFile(f1.FileInfo, f2.FileInfo)
return os.SameFile(f1.osFileInfo(), f2.osFileInfo())
}
// basicFile implements the fs.File interface on top of an os.File