Pike v8.1 release 6

Method Filesystem.Monitor.basic()->is_monitored()


Method is_monitored

bool is_monitored(string path)

Description

Check whether a path is monitored or not.

Parameter path

Path to check.

Returns

Returns 1 if there is a monitor on path, and 0 (zero) otherwise.

See also

monitor(), release()