watcher

package
v0.0.0-...-f028939 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2026 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler func(ctx context.Context, paths []string)

Handler is called when filesystem changes are detected after debouncing.

type Watcher

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

Watcher monitors the ROM library directory for changes.

func New

func New(lc fx.Lifecycle, cfg *config.Config, handler Handler, log *slog.Logger) (*Watcher, error)

Jump to

Keyboard shortcuts

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