# Method Filesystem.Monitor.basic()->Monitor()->attr_changed()

Method attr_changed

  ``protected` `void` attr_changed(`string` `path`, `Stdio.Stat` `st`)`

Description

  File attribute or content changed callback.

Parameter `st`

  Status information for `path` as obtained by `file_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.