Method Stdio.exist()
- Method
exist
intexist(string(8bit)path,bool|voiddo_not_follow_symlinks)- Description
Check if a
pathexists.- Parameter
path Filesystem path to check.
- Parameter
do_not_follow_symlinks Return
1also for broken symlinks.- Returns
Returns true if the given path exists (is a directory or file), otherwise false.
- Note
May fail with eg errno() EFBIG if the file exists, but the filesystem doesn't support the file size.
- See also