Static gio::FILE_ATTRIBUTE_UNIX_MODE
source · pub static FILE_ATTRIBUTE_UNIX_MODE: &GStr
Expand description
A key in the “unix” namespace for getting the mode of the file (e.g. whether the file is a regular file, symlink, etc).
See the documentation for lstat()
: this attribute is equivalent to
the st_mode
member of struct stat
, and includes both the file type
and permissions.
This attribute is only available for UNIX file systems.
Corresponding FileAttributeType
is FileAttributeType::Uint32
.