Method Filesystem.Monitor.basic()->attr_changed()
- Method
attr_changed
voidattr_changed(stringpath,Stdio.Statst)- Description
File attribute changed callback.
- Parameter
path Path of the file or directory which has changed attributes.
- Parameter
st Status information for
pathas obtained byfile_stat(path, 1).This function is called when a change has been detected for an attribute for a monitored file or directory.
Called by check() and check_monitor().
- Note
If there is a data_changed() callback, it may supersede this callback if the file content also has changed.
Overload this to do something useful.