mirror of
https://github.com/restic/restic.git
synced 2026-10-30 12:05:42 +00:00
fs/reader: fix open+stat handling
This commit is contained in:
1 parent
19f48084ea
commit
70e1037a49
2 files changed
+23
-10
No files matched your search
@@ -128,6 +128,9 @@ func (fs *Reader) OpenFile(name string, flag int, _ bool) (f File, err error) {
|
||||
}
|
||||
|
||||
f = fakeDir{
|
||||
fakeFile: fakeFile{
|
||||
fi: item.fi,
|
||||
},
|
||||
entries: slices.Clone(item.children),
|
||||
}
|
||||
return f, nil
|
||||
|
||||
Reference in new issue
Block a user