diff options
| author | isaac-scarrott <[email protected]> | 2025-04-27 15:38:40 +0100 |
|---|---|---|
| committer | Kujtim Hoxha <[email protected]> | 2025-04-27 18:01:31 +0200 |
| commit | 3c2b0f4dd03f4b9d366a4667608390923618bb0c (patch) | |
| tree | 3d4f5927791d7215ab6316d9ab229abbf3ca3629 /opencode-schema.json | |
| parent | 9738886620f3b3bbc77cea6faadbf21b6f864119 (diff) | |
| download | opencode-3c2b0f4dd03f4b9d366a4667608390923618bb0c.tar.gz opencode-3c2b0f4dd03f4b9d366a4667608390923618bb0c.zip | |
[feature/ripgrep-glob] Add ripgrep-based file globbing to improve performance
- 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.
Diffstat (limited to 'opencode-schema.json')
0 files changed, 0 insertions, 0 deletions
