fakeFile implements all File methods, but only returns errors for anything except Stat()
| 240 | // fakeFile implements all File methods, but only returns errors for anything |
| 241 | // except Stat() |
| 242 | type fakeFile struct { |
| 243 | name string |
| 244 | fi *ExtendedFileInfo |
| 245 | } |
| 246 | |
| 247 | // ensure that fakeFile implements File |
| 248 | var _ File = fakeFile{} |
nothing calls this directly
no outgoing calls
no test coverage detected