Top index Wirbel home

fs::file_type

file_type(string f) - determine type of a file

file_type(string f) determines the type of a file and returns one of `file, `directory, `blockdev, `chardev, `fifo, `socket, `unknown or null. If the file does not exist or cannot be examined, null is returned. This function never raises an exception.

See also

file_type_l