Documentation ¶
Index ¶
- Variables
- func Add(name string, h CallBack) error
- func AddRecursive(name string, h CallBack) (err error)
- func IsCreateEvent(ev Event) bool
- func IsDeleteEvent(ev Event) bool
- func IsDir(path string) bool
- func IsNotExist(name string) bool
- func IsRenameEvent(ev Event) bool
- func IsUpdateEvent(ev Event) bool
- func IsWriteEvent(ev Event) bool
- func List() []string
- func New() (*watcherManager, error)
- func Remove(name string) error
- func SetDefault(c *watcherManager)
- func Start()
- func Stop()
- type CallBack
- type Event
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrPathNotFound = errors.New("error: path not found")
)
Functions ¶
func AddRecursive ¶
func IsCreateEvent ¶
func IsDeleteEvent ¶
func IsNotExist ¶
func IsRenameEvent ¶
func IsUpdateEvent ¶
func IsWriteEvent ¶
func SetDefault ¶
func SetDefault(c *watcherManager)
Types ¶
Click to show internal directories.
Click to hide internal directories.