Top index Wirbel home

fs::file_exists

file_exists(string path) - check if a file exists

file_exists(string path) checks if path is a path to an existing file (regular or special) or directory. Return true if it does exist and false if not.

See also

is_blockdev, is_chardev, is_directory, is_file, is_socket, is_symlink