FileWatcherEvent
classin packageklyn.io
public class FileWatcherEvent extends FileWatchEvent:
└ FileWatcherEvent

Event payload emitted by FileWatcher.

This class is the preferred public name for file-watcher notifications. FileWatchEvent remains available as the base type for compatibility with earlier code.

watcher.updated += lambda(e: FileWatcherEvent): print(e.path)
Properties inherited from FileWatchEvent: exists, kind, lastModified, path, previousExists, previousLastModified, previousSize, size
Properties inherited from Event: source, timestamp
Constructors
Modifier and Type Member Description
public FileWatcherEvent
FileWatcherEvent(source as Object, path as Path, kind as String, previousExists as Boolean, exists as Boolean, previousLastModified as Long, lastModified as Long, previousSize as ULong, size as ULong):
Creates a file-watcher event payload.