summaryrefslogtreecommitdiffhomepage
path: root/internal/llm/tools/grep.go
diff options
context:
space:
mode:
authorAdictya <[email protected]>2025-05-15 08:42:45 +0530
committerAdam <[email protected]>2025-05-15 08:29:54 -0500
commit15bf40bc102ed5426fa2148b9e8f39acef1174a0 (patch)
tree4b005eba92703864a4bc2884b3cdc1fb5ab21a3c /internal/llm/tools/grep.go
parenta33e3e25b6646b6128975836d7f182e89f5eb891 (diff)
downloadopencode-15bf40bc102ed5426fa2148b9e8f39acef1174a0.tar.gz
opencode-15bf40bc102ed5426fa2148b9e8f39acef1174a0.zip
feat(complete-module): add completions logic, dialog and providers
Diffstat (limited to 'internal/llm/tools/grep.go')
-rw-r--r--internal/llm/tools/grep.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/internal/llm/tools/grep.go b/internal/llm/tools/grep.go
index 505c3c093..c2cd97810 100644
--- a/internal/llm/tools/grep.go
+++ b/internal/llm/tools/grep.go
@@ -15,6 +15,7 @@ import (
"time"
"github.com/sst/opencode/internal/config"
+ "github.com/sst/opencode/internal/fileutil"
)
type GrepParams struct {
@@ -288,7 +289,7 @@ func searchFilesWithRegex(pattern, rootPath, include string) ([]grepMatch, error
return nil // Skip directories
}
- if skipHidden(path) {
+ if fileutil.SkipHidden(path) {
return nil
}