Support reading "." for fs.FS

This commit is contained in:
stffabi
2021-12-02 13:39:13 +01:00
parent e8a8c531a9
commit c988309edc
3 changed files with 23 additions and 4 deletions
+1
View File
@@ -189,6 +189,7 @@ func (r *Reader) Init() error {
return err
}
r.FS = FS{
i: i,
r: r,
name: "/",
entries: entries,