[feature] file exclude
This commit is contained in:
parent
0350ecba9a
commit
0332206560
13 changed files with 243 additions and 19 deletions
src/host/vfs
|
@ -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{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue