fs/reader: fix open+stat handling

This commit is contained in:
Michael Eischer committed 2025-04-11 21:49:25 +02:00
1 parent 19f48084ea
commit 70e1037a49
2 files changed
+23 -10

No files matched your search

+3
View File
@@ -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