recinotify

package module
v0.0.0-...-7389700 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2015 License: MIT Imports: 3 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

RecursiveFsnotify

A recursive(and perhaps naive) version of the fsnotify.v1 package: https://godoc.org/gopkg.in/fsnotify.v1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RecursiveWatcher

type RecursiveWatcher struct {
	Event chan *inotify.Event
	Error chan error
	// contains filtered or unexported fields
}

RecursiveWatcher is an extension of inotify.Watcher that watches a directory and adds

func NewWatcher

func NewWatcher() (*RecursiveWatcher, error)

NewWatcher creates a new RecursiveWatcher and returns any errors

func (*RecursiveWatcher) Close

func (rw *RecursiveWatcher) Close() error

Close closes the underlying inotify watcher and stops this watcher's event loop

func (*RecursiveWatcher) Watch

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

Watch adds path and all its descendants to the watcher

Jump to

Keyboard shortcuts

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