| 29 | ) |
| 30 | |
| 31 | type fakeFile struct { |
| 32 | name string |
| 33 | size int64 |
| 34 | modTime time.Time |
| 35 | |
| 36 | content string |
| 37 | } |
| 38 | |
| 39 | func newFakeFile(name, content string, modTime time.Time) *fakeFile { |
| 40 | return &fakeFile{name, int64(len(content)), modTime, content} |
nothing calls this directly
no outgoing calls
no test coverage detected