Method DirectoryWatcher.readChanges
Fills the destination array with all changes that occured since the last call.
The function will blok until either directory changes have occured or until the tiout has elapsed. Specifying a negative duration will cause the function to wait without a timeout
.
Prototype
bool readChanges( ref DirectoryChange[] dst, core.time.Duration timeout ) abstract;
Parameters
Name | Description |
---|---|
dst | The destination array to which the changes will be appended |
timeout | Optional timeout for the read operation |
Returns
If the call completed successfully, true is returned.
Authors
Sönke Ludwig
Copyright
© 2012 RejectedSoftware e.K.
License
Subject to the terms of the MIT license, as written in the included LICENSE.txt file.