Method Filesystem.Monitor.symlinks()->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).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.
- Note
It differs from the Filesystem.Monitor.basic version in that symbolic links have the
stof their targets.Overload this to do something useful.