(directory string)
| 164 | } |
| 165 | |
| 166 | func (appfiles ApplicationFiles) CountFiles(directory string) int64 { |
| 167 | var count int64 |
| 168 | appfiles.WalkAppFiles(directory, func(_, _ string) error { |
| 169 | count++ |
| 170 | return nil |
| 171 | }) |
| 172 | return count |
| 173 | } |
| 174 | |
| 175 | func (appfiles ApplicationFiles) WalkAppFiles(dir string, onEachFile func(string, string) error) error { |
| 176 | cfIgnore := loadIgnoreFile(dir) |
nothing calls this directly
no test coverage detected