Documentation
¶
Overview ¶
Package fswatch stays on os.* rather than acfs: it watches arbitrary user-configured paths and deliberately follows symlinks that may resolve outside any confinement root, which acfs cannot do.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Watcher ¶
type Watcher struct {
// contains filtered or unexported fields
}
func NewWatcher ¶
func NewWatcher(watchPath string, opts WatcherOptions) (*Watcher, error)
func (*Watcher) StopWatching ¶ added in v2.15.0
StopWatching closes the watch loop before its owner joins callbacks.
Click to show internal directories.
Click to hide internal directories.