From 74ac65fb9a9d50dc19ff10fe21b2993521deada4 Mon Sep 17 00:00:00 2001 From: Felicitas Pojtinger Date: Tue, 11 Jan 2022 03:40:06 +0100 Subject: [PATCH] fix: Return fully-qualified file name in `Name()` --- internal/fs/file.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/fs/file.go b/internal/fs/file.go index 5b46006..3c153e2 100644 --- a/internal/fs/file.go +++ b/internal/fs/file.go @@ -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) {