Versions in this module Expand all Collapse all v1 v1.1.3 Dec 26, 2025 v1.1.2 Dec 26, 2025 v1.1.1 Dec 26, 2025 Changes in this version + func IsBinaryFile(filename string) bool + type FileEntry struct + Content []string + Lower []string + ModTime time.Time + Path string + type Index struct + func BuildIndex(dir string, progressCallback func(current, total int)) *Index + func (idx *Index) FileCount() int + func (idx *Index) GetFileContent(filename string) []string + func (idx *Index) Search(pattern string, options SearchOptions) []Result + type Result struct + Content string + File string + Line int + func SearchFiles(pattern string, dir string, options SearchOptions) []Result + type SearchOptions struct + CaseInsensitive bool + MaxResults int