Allows wrapped filesystems to return dirent.ino except in windows (#1558)
Signed-off-by: Adrian Cole <adrian@tetrate.io>
This commit is contained in:
@@ -27,7 +27,7 @@ func stat(path string) (fsapi.Stat_t, syscall.Errno) {
|
||||
}
|
||||
}
|
||||
|
||||
func statFile(f *os.File) (fsapi.Stat_t, syscall.Errno) {
|
||||
func statFile(f fs.File) (fsapi.Stat_t, syscall.Errno) {
|
||||
return defaultStatFile(f)
|
||||
}
|
||||
|
||||
@@ -56,5 +56,5 @@ func statFromFileInfo(t fs.FileInfo) fsapi.Stat_t {
|
||||
st.Ctim = ctime.Sec*1e9 + ctime.Nsec
|
||||
return st
|
||||
}
|
||||
return StatFromDefaultFileInfo(t)
|
||||
return statFromDefaultFileInfo(t)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user