Base event class emitted by FileSystemEntity.watch.
Constants
- int ALL = CREATE | MODIFY | DELETE | MOVE
-
constBitfield for FileSystemEntity.watch, for enabling all of CREATE, MODIFY, DELETE and MOVE.
- int CREATE = 1 << 0
-
constBitfield for FileSystemEntity.watch, to enable FileSystemCreateEvents.
- int DELETE = 1 << 2
-
constBitfield for FileSystemEntity.watch, to enable FileSystemDeleteEvents.
- int MODIFY = 1 << 1
-
constBitfield for FileSystemEntity.watch, to enable FileSystemModifyEvents.
- int MOVE = 1 << 3
-
constBitfield for FileSystemEntity.watch, to enable FileSystemMoveEvents.
Properties
- bool isDirectory
-
read-onlyIs
true
if the event target was a directory. - String path
-
read-onlyThe path that triggered the event. Depending on the platform and the FileSystemEntity, the path may be relative.
- int type
-
read-onlyThe type of event. See FileSystemEvent for a list of events.