Method Filesystem.Monitor.symlinks()->DefaultMonitor()->file_exists()
- Method file_exists
protected
void
file_exists(string
path
,Stdio.Stat
st
)- Description
File existance callback.
- Parameter
st
Status information for
path
as obtained byfile_stat(path, 1)
.This function is called during initialization for all monitored paths, and subpaths for monitored directories. It represents the initial state for the monitor.
- Note
For directories, file_created() will be called for the subpaths before the call for the directory itself. This can be used to detect when the initialization for a directory is finished.
Called by check() and check_monitor() the first time a monitored path is checked (and only if it exists).