watcher

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2024 License: MIT Imports: 10 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 {
	Watcher   *fsnotify.Watcher
	Args      cli.Args
	Callbacks []func(*cli.Args, *chan bool)
	// contains filtered or unexported fields
}

func New

func New(args cli.Args) *Watcher

func (*Watcher) Close

func (W *Watcher) Close()

func (*Watcher) Watch

func (W *Watcher) Watch()

Jump to

Keyboard shortcuts

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