fswatch

package
v0.3.24 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2024 License: Apache-2.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OnChangedFunc

type OnChangedFunc func(fileUrl *exturl.FileURL)

type Watcher

type Watcher struct {
	// contains filtered or unexported fields
}

func NewWatcher

func NewWatcher(context *exturl.Context) (*Watcher, error)

func (*Watcher) Add

func (self *Watcher) Add(path string) error

func (*Watcher) Close

func (self *Watcher) Close() error

func (*Watcher) Start

func (self *Watcher) Start(onChanged OnChangedFunc)

Jump to

Keyboard shortcuts

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