Pike v8.1 release 6

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


Method stable_data_change

void stable_data_change(string path, Stdio.Stat st)

Description

Stable change callback.

Parameter path

Path of the file or directory that has stopped changing.

Parameter st

Status information for path as obtained by file_stat(path, 1).

This function is called when previous changes to path are considered "stable".

"Stable" in this case means that there have been no detected changes for at lease stable_time seconds.

Called by check() and check_monitor().

Overload this to do something useful.