watcher

package
v0.0.0-...-7d1714d Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2022 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