Versions in this module Expand all Collapse all v0 v0.1.0 Mar 27, 2022 Changes in this version + func WatchFile(eventConsumer FileEventEmitter, done util.Done, filePaths ...string) (err error) + type Event = fsnotify.Event + type FileEvent struct + OnChmod func(Event) + OnCreate func(Event) + OnRemove func(Event) + OnRename func(Event) + OnWrite func(Event) + func (fe *FileEvent) On(ev Event) + type FileEventEmitter interface + On func(Event) + type FileOp = fsnotify.Op + const Chmod + const Create + const Remove + const Rename + const Write + type FileStat struct + IsDir bool + ModTime time.Time + Mode fs.FileMode + Name string + Size memory.MemorySize