watch

package
v0.0.0-...-e7a9558 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2016 License: MIT Imports: 6 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 {
	Watcher     *fsnotify.Watcher
	Flags       uint32
	OnEventFunc func(event *fsnotify.FileEvent)

	Filter func(path string) bool
	// contains filtered or unexported fields
}

func NewRecurisveWatcher

func NewRecurisveWatcher(path string) (*RecursiveWatcher, error)

func (*RecursiveWatcher) AddFolder

func (rw *RecursiveWatcher) AddFolder(path string)

func (*RecursiveWatcher) Close

func (rw *RecursiveWatcher) Close() error

func (*RecursiveWatcher) Run

func (rw *RecursiveWatcher) Run(debug bool)

Jump to

Keyboard shortcuts

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