Grep performs grep on a worktree.
(opts *GrepOptions)
| 959 | |
| 960 | // Grep performs grep on a worktree. |
| 961 | func (w *Worktree) Grep(opts *GrepOptions) ([]GrepResult, error) { |
| 962 | return w.r.Grep(opts) |
| 963 | } |
| 964 | |
| 965 | // findMatchInFiles takes a FileIter, worktree name and GrepOptions, and |
| 966 | // returns a slice of GrepResult containing the result of regex pattern matching |
no outgoing calls