watcher

package
v0.0.0-...-541b265 Latest Latest
Warning

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

Go to latest
Published: May 23, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Watch

func Watch(eventMap EventMap) *fsnotify.Watcher

Types

type EventMap

type EventMap map[string]Handler

type Handler

type Handler func(action string, target fpath.Path) bool

Handler function is called when file changes. Return to true to chain to next matching handler

Jump to

Keyboard shortcuts

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