Function: file-attribute-file-identifier

file-attribute-file-identifier is a byte-compiled function defined in files.el.gz.

Signature

(file-attribute-file-identifier ATTRIBUTES)

Documentation

The inode and device numbers in ATTRIBUTES returned by file-attributes.

The value is a list of the form (INODENUM DEVICE), where DEVICE could be either a single number or a cons cell of two numbers. This tuple of numbers uniquely identifies the file.

Probably introduced at or before Emacs version 29.1.

Source Code

;; Defined in /usr/src/emacs/lisp/files.el.gz
(defsubst file-attribute-file-identifier (attributes)
  "The inode and device numbers in ATTRIBUTES returned by `file-attributes'.
The value is a list of the form (INODENUM DEVICE), where DEVICE could be
either a single number or a cons cell of two numbers.
This tuple of numbers uniquely identifies the file."
  (nthcdr 10 attributes))