Documentation
¶
Index ¶
- Variables
- func BuildIndex(ctx context.Context, indexPaths, ignorePaths []string, maxDepth int, ...) error
- func Clear(ctx context.Context) error
- func Config(ctx context.Context) searcher.Config
- func Del(ctx context.Context, prefix string) error
- func Progress() (*model.IndexProgress, error)
- func Running() bool
- func Search(ctx context.Context, req model.SearchReq) ([]model.SearchNode, int64, error)
- func Update(parent string, objs []model.Obj)
- func WriteProgress(progress *model.IndexProgress)
- type ObjWithParent
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Quit = atomic.Pointer[chan struct{}]{}
)
Functions ¶
func BuildIndex ¶
func Progress ¶
func Progress() (*model.IndexProgress, error)
func WriteProgress ¶
func WriteProgress(progress *model.IndexProgress)
Types ¶
type ObjWithParent ¶
Click to show internal directories.
Click to hide internal directories.