watcher

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

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
}

func NewWatcher

func NewWatcher(rootDir string, ignoreList *ignore.IgnoreList, callback func(string)) (*Watcher, error)

NewWatcher creates a new fsnotify file watcher.

func (*Watcher) Close

func (w *Watcher) Close()

func (*Watcher) Start

func (w *Watcher) Start() error

Start walking the workspace root, registers directories, and enters the watch loop.

Jump to

Keyboard shortcuts

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