Variable

Gio-2.0GioFILE_ATTRIBUTE_ID_FILEConst

FILE_ATTRIBUTE_ID_FILE: string

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

Corresponding Gio.FileAttributeType is Gio.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 Gio.File instances refer to the same path on disk, see Gio.File.equal.

id::file