fs/reader: fix open+stat handling

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

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