Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Searcher ¶
func New ¶
Creates a new Searcher that is available for searches as soon as this returns. This will pull or clone the target repo and start watching the repo for changes.
func NewFromExisting ¶
Creates a new Searcher for the vcsDir but avoids any remote vcs operations. This requires that an existing vcsDir be available in the data directory. This is intended for debugging and testing only. This will not start a watcher to monitor the remote repo for changes.
func (*Searcher) GetExcludedFiles ¶
func (*Searcher) Search ¶
func (s *Searcher) Search(pat string, opt *index.SearchOptions) (*index.SearchResponse, error)
Click to show internal directories.
Click to hide internal directories.