Function Inotifier.watch

add or change a watch point

mecca.lib.typedid.RawTypedIdentifier!("WatchDescriptor",int,-1,-1,mecca.log.FMT(""),false) watch (
  const(char)[] path,
  uint mask
) @nogc @trusted;

Parameters

NameDescription
path path to be watched
mask the mask of events to be watched

Returns

the WatchDescriptor of the added or modified watch point.