gio

Static 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 #GFileAttributeType is FileAttributeType::Uint32.