mirror of
https://github.com/restic/restic.git
synced 2025-12-12 09:52:17 +00:00
fs/reader: fix open+stat handling
This commit is contained in:
@@ -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