fix: Return fully-qualified file name in Name()

This commit is contained in:
Felicitas Pojtinger
2022-01-11 03:40:06 +01:00
parent f8c8bae5f1
commit 74ac65fb9a

View File

@@ -351,7 +351,7 @@ func (f *File) Name() string {
f.ioLock.Lock()
defer f.ioLock.Unlock()
return f.name
return f.path
}
func (f *File) Stat() (os.FileInfo, error) {