watcher

package
v0.0.0-...-947ddfb Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2022 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RecursiveWatcher

type RecursiveWatcher struct {
	Events chan fsnotify.Event
	Errors chan error
	// contains filtered or unexported fields
}

func New

func New() (*RecursiveWatcher, error)

func (*RecursiveWatcher) Add

func (rw *RecursiveWatcher) Add(path string) error

func (*RecursiveWatcher) AddRecursive

func (rw *RecursiveWatcher) AddRecursive(path string) error

func (*RecursiveWatcher) Close

func (rw *RecursiveWatcher) Close() error

func (*RecursiveWatcher) Remove

func (rw *RecursiveWatcher) Remove(path string) error

func (*RecursiveWatcher) RemoveRecursive

func (rw *RecursiveWatcher) RemoveRecursive(path string) error

type RecursiveWatcherClosedError

type RecursiveWatcherClosedError struct{}

func (RecursiveWatcherClosedError) Error

Jump to

Keyboard shortcuts

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