vibe.d beta banner
get vibe.d
0.8.0

Asynchronous I/O that doesn’t get in your way, written in D

Interface DirectoryWatcher

Interface for directory watcher implementations.

interface DirectoryWatcher ;

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

Properties

NameTypeDescription
path[get]PathThe path of the watched directory
recursive[get]boolIndicates if the directory is watched recursively

Methods

NameDescription
readChangesFills the destination array with all changes that occurred since the last call.
Authors

Sönke Ludwig

Copyright

© 2012-2014 RejectedSoftware e.K.

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.