Method Filesystem.Monitor.basic()->attr_changed()
- Method
attr_changed
void
attr_changed(string
path
,Stdio.Stat
st
)- Description
File attribute changed callback.
- Parameter
path
Path of the file or directory which has changed attributes.
- Parameter
st
Status information for
path
as 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.