Struct DirectoryWatcher
Interface for directory watcher implementations.
struct DirectoryWatcher
;
Directory watchers monitor the contents of a directory (wither recursively or non-recursively) for changes, such as file additions, deletions or modifications.
Properties
Name | Type | Description |
---|---|---|
path [get]
|
GenericPath!(vibe.core.path.PosixPathFormat) | The path of the watched directory |
recursive [get]
|
bool | Indicates if the directory is watched recursively |
Methods
Name | Description |
---|---|
readChanges
(dst, timeout)
|
Fills the destination array with all changes that occurred since the last call. |