fs is dir entry

This commit is contained in:
royalcat 2024-03-20 13:49:19 +03:00
parent e576e62599
commit fd3beea874
12 changed files with 172 additions and 27 deletions
src/host/vfs

View file

@ -31,6 +31,8 @@ type Filesystem interface {
Stat(filename string) (fs.FileInfo, error)
Unlink(filename string) error
fs.DirEntry
}
const defaultMode = fs.FileMode(0555)