in cmd/ip-masq-agent-v2/testing/fakefs/fakefs.go [110:117]
func (NotExistFS) ReadDir(name string) ([]os.DirEntry, error) {
return []os.DirEntry{},
&os.PathError{
Op: "open",
Path: name,
Err: errors.New("errno 2"), // errno 2 is ENOENT, since the dir shouldn't exist
}
}