()
| 29 | } |
| 30 | |
| 31 | func (f fileSlice) String() string { |
| 32 | return fmt.Sprintf("%s@%d: %s", f.path, f.offset, f.data) |
| 33 | } |
| 34 | |
| 35 | // searchFile searches a single file for a regular expression. It limits the |
| 36 | // search to the first [maxFileSize] bytes of the file to avoid consuming too |
no outgoing calls