Expand description
Unix FS easy functions. Why not use std ones? Because those expect Path, and CString is not representable as Path.
Enums§
Traits§
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
pathsucceeds and yields the given file type. If permissions deny access or there are disk errors, the result is simplyfalse.