DirectoryWatcher

Interface for directory watcher implementations.

Directory watchers monitor the contents of a directory (wither recursively or non-recursively) for changes, such as file additions, deletions or modifications.

Members

Functions

readChanges
bool readChanges(DirectoryChange[] dst, Duration timeout)

Fills the destination array with all changes that occurred since the last call.

Properties

path
Path path [@property getter]

The path of the watched directory

recursive
bool recursive [@property getter]

Indicates if the directory is watched recursively

Meta