Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RecursiveSearchFiles ¶
func RecursiveSearchFiles(query, currentDir string, showHidden bool, shouldIgnoreFn func(string) bool, cancelChan <-chan struct{}, onProgress func(scanned int), maxResults, maxDepth, maxFilesScanned int, customSkipDirs []string) ([]Result, []MatchResult)
RecursiveSearchFiles searches for files recursively using substring matching with streaming results Limits configurable via maxResults, maxDepth, maxFilesScanned parameters Results are sent via callback as they're found, allowing progressive display customSkipDirs are user-configurable directories to skip (merged with hardcoded essentials)
Types ¶
type MatchResult ¶
MatchResult contains fuzzy match information
func SubstringMatchNames ¶ added in v1.0.3
func SubstringMatchNames(query string, names []string) []MatchResult
SubstringMatchNames performs case-insensitive substring matching on a list of names Returns the indices of matches and their matched character positions
Click to show internal directories.
Click to hide internal directories.