Method Filesystem.Monitor.basic()->stable_data_change()
- Method
stable_data_change
voidstable_data_change(stringpath,Stdio.Statst)- Description
Stable change callback.
- Parameter
path Path of the file or directory that has stopped changing.
- Parameter
st Status information for
pathas obtained byfile_stat(path, 1).This function is called when previous changes to
pathare considered "stable"."Stable" in this case means that there have been no detected changes for at lease
stable_timeseconds.Called by check() and check_monitor().
Overload this to do something useful.
- Note
This callback being called does not mean that the contents or inode has changed, just that they don't seem to change any more. In particular it is called for paths found during initialization after
stable_timeseconds have passed.- See also