Method Filesystem.Monitor.basic()->file_created()
- Method
file_created
voidfile_created(stringpath,Stdio.Statst)- Description
File creation callback.
- Parameter
path Path of the new file or directory.
- Parameter
st Status information for
pathas obtained byfile_stat(path, 1).This function is called when either a monitored path has started existing, or when a new file or directory has been added to a monitored directory.
Called by check() and check_monitor().
Overload this to do something useful.
- Note
This callback has similar semantics to file_exists(), but is called at run time.
- See also