[feature] file exclude

This commit is contained in:
royalcat 2023-12-26 01:11:03 +03:00
parent 0350ecba9a
commit 0332206560
13 changed files with 243 additions and 19 deletions
src/host/vfs

View file

@ -52,6 +52,10 @@ func (d *DummyFs) Open(filename string) (File, error) {
return &Dummy{}, nil
}
func (d *DummyFs) Unlink(filename string) error {
return ErrNotImplemented
}
func (d *DummyFs) ReadDir(path string) ([]fs.DirEntry, error) {
if path == "/dir/here" {
return []fs.DirEntry{