Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileSearcher ¶
type FileSearcher struct {
// contains filtered or unexported fields
}
func NewFileSearcher ¶
func NewFileSearcher(workingDir string, guard *filesystem.Guard) *FileSearcher
func (*FileSearcher) Search ¶
func (s *FileSearcher) Search(query string, limit int) []string
Search returns up to limit paths matching query. Path traversal queries (starting with /, ~/, ./, ../) list directory contents on demand. Workspace queries search the cached git file list (with background refresh), falling back to on-demand directory listing when workingDir has no git index.