fsnotify

package
v1.6.17 Latest Latest
Warning

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

Go to latest
Published: May 12, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Callback

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

type Handler

type Handler map[string]Callback

type Watch

type Watch struct {
	*fsnotify.Watcher
	// contains filtered or unexported fields
}

func New

func New(interval time.Duration) (*Watch, error)

func (*Watch) Add

func (w *Watch) Add(name string, op fsnotify.Op, callback func()) error

func (*Watch) Close

func (w *Watch) Close()

Jump to

Keyboard shortcuts

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