(count int)
| 85 | } |
| 86 | |
| 87 | func (m *mockFile) Readdir(count int) ([]os.FileInfo, error) { |
| 88 | args := m.Called(count) |
| 89 | |
| 90 | infos, ok := args.Get(0).([]os.FileInfo) |
| 91 | if infos != nil && !ok { |
| 92 | panic(errAssertion) |
| 93 | } |
| 94 | |
| 95 | return infos, args.Error(1) |
| 96 | } |
| 97 | |
| 98 | func (m *mockFile) Readdirnames(n int) ([]string, error) { |
| 99 | args := m.Called(n) |