Function: file-extended-attributes
file-extended-attributes is a byte-compiled function defined in
files.el.gz.
Signature
(file-extended-attributes FILENAME)
Documentation
Return an alist of extended attributes of file FILENAME.
Extended attributes are platform-specific metadata about the file, such as SELinux context, list of ACL entries, etc.
Other relevant functions are documented in the file group.
Probably introduced at or before Emacs version 24.4.
Shortdoc
;; file
(file-extended-attributes "/tmp/foo")
-> [it depends]
Source Code
;; Defined in /usr/src/emacs/lisp/files.el.gz
(defun file-extended-attributes (filename)
"Return an alist of extended attributes of file FILENAME.
Extended attributes are platform-specific metadata about the file,
such as SELinux context, list of ACL entries, etc."
`((acl . ,(file-acl filename))
(selinux-context . ,(file-selinux-context filename))))