watcher

package
v0.0.0-...-5f4b0e9 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2025 License: GPL-3.0 Imports: 6 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 New

func New(fn func(*Watcher, string)) (*Watcher, error)

func (*Watcher) Add

func (w *Watcher) Add(root string) error

func (*Watcher) Refresh

func (w *Watcher) Refresh(root string) error

func (*Watcher) Watch

func (w *Watcher) Watch() error

Jump to

Keyboard shortcuts

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