watcher

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: May 29, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Overview

Package watcher provides filesystem monitoring for incremental indexing.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Watcher

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

Watcher monitors the file system for changes and updates the graph index.

func NewWatcher

func NewWatcher(store storage.Store, root string) *Watcher

NewWatcher creates a new file system watcher.

func (*Watcher) Start

func (w *Watcher) Start(ctx context.Context) error

Start begins watching the file system for changes.

Jump to

Keyboard shortcuts

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