shards

package
v0.0.0-...-9a66a57 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 21, 2022 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDirectorySearcher

func NewDirectorySearcher(dir string) (zoekt.Streamer, error)

NewDirectorySearcher returns a searcher instance that loads all shards corresponding to a glob into memory.

Types

type DirectoryWatcher

type DirectoryWatcher struct {
	// contains filtered or unexported fields
}

func NewDirectoryWatcher

func NewDirectoryWatcher(dir string, loader shardLoader) (*DirectoryWatcher, error)

func (*DirectoryWatcher) Stop

func (sw *DirectoryWatcher) Stop()

func (*DirectoryWatcher) String

func (s *DirectoryWatcher) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL