(filename string)
| 992 | } |
| 993 | |
| 994 | func (f *notExistsFS) Open(filename string) (billy.File, error) { |
| 995 | if f.matches(filename) { |
| 996 | return nil, os.ErrNotExist |
| 997 | } |
| 998 | |
| 999 | return f.Filesystem.Open(filename) |
| 1000 | } |
| 1001 | |
| 1002 | func (f *notExistsFS) ReadDir(path string) ([]os.FileInfo, error) { |
| 1003 | if f.matches(path) { |
no test coverage detected