Module unix_fs

Source
Expand description

Unix FS easy functions. Why not use std ones? Because those expect Path, and CString is not representable as Path.

Enums§

FileType

Traits§

EasyFileStat

Functions§

path_is_blockdevice
path_is_chardevice
path_is_dir
path_is_file
path_is_link
path_is_normal_file
path_is_pipe
path_is_socket
path_is_type
Test whether stat on path succeeds and yields the given file type. If permissions deny access or there are disk errors, the result is simply false.