mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-02 22:40:22 +00:00
- Introduced `globWithRipgrep` function to perform file globbing using the `rg` (ripgrep) command. - Updated `globFiles` to prioritize ripgrep-based globbing and fall back to doublestar-based globbing if ripgrep fails. - Added logic to handle ripgrep command execution, output parsing, and filtering of hidden files. - Ensured results are sorted by path length and limited to the specified maximum number of matches. - Modified imports to include `os/exec` and `bytes` for ripgrep integration. |
||
|---|---|---|
| .. | ||
| shell | ||
| bash.go | ||
| diagnostics.go | ||
| edit.go | ||
| fetch.go | ||
| file.go | ||
| glob.go | ||
| grep.go | ||
| ls.go | ||
| ls_test.go | ||
| patch.go | ||
| sourcegraph.go | ||
| tools.go | ||
| view.go | ||
| write.go | ||