FILE_ATTRIBUTE_ID_FILE

Static FILE_ATTRIBUTE_ID_FILE 

Source
pub static FILE_ATTRIBUTE_ID_FILE: &GStr
Expand description

A key in the “id” namespace for getting a file identifier.

Corresponding #GFileAttributeType is FileAttributeType::String.

An example use would be during listing files, to avoid recursive directory scanning.

For local files on Linux, this is a combination of the file’s device number and inode, so is invariant with respect to hard linking. The format used by other VFS implementations may vary, and some VFS backends may not set it.

For simply seeing if two File instances refer to the same path on disk, see Gio::File::equal().