Monitor

Monitor root's for filesystem changes which create/remove/modify files/directories.

Constructors

this
this(AbsolutePath[] roots, GlobFilter fileFilter, FileWatch.FollowSymlink follow, uint events)
this
this(AbsolutePath[] roots, GlobFilter fileFilter, GlobFilter[AbsolutePath] subFilters, FileWatch.FollowSymlink follow, uint events)
Undocumented in source.

Members

Functions

collect
MonitorResult[] collect(Duration collectTime)

Collects events from the monitored roots over a period.

wait
MonitorResult[] wait(Duration timeout)

Wait up to timeout for an event to occur for the monitored roots.

Static functions

isInteresting
bool isInteresting(GlobFilter rootFilter, GlobFilter[AbsolutePath] subFilters, string p)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta