Versions in this module Expand all Collapse all v0 v0.2.0 Feb 2, 2015 Changes in this version + func GetRegexpPattern(pat string, ignoreCase bool) string + type ExcludedFile struct + Filename string + Reason string + type FileMatch struct + Filename string + Matches []*Match + type Index struct + func Open(dir string) (*Index, error) + func (n *Index) Destroy() error + func (n *Index) GetDir() string + func (n *Index) Search(pat string, opt *SearchOptions) (*SearchResponse, error) + type Match struct + After []string + Before []string + Line string + LineNumber int + type SearchOptions struct + FileRegexp string + IgnoreCase bool + Limit int + LinesOfContext uint + Offset int + type SearchResponse struct + Duration time.Duration + FilesOpened int + FilesWithMatch int + Matches []*FileMatch + type Snapshot string + func Build(dst, src string) (Snapshot, error) + func (s Snapshot) Open() (*Index, error)