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.

Destructor

~this
~this()
Undocumented in source.

Postblit

this(this)
this(this)
Undocumented in source.

Members

Functions

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

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

Properties

path
NativePath path [@property getter]

The path of the watched directory

recursive
bool recursive [@property getter]

Indicates if the directory is watched recursively

Meta