Function: dired-files-attributes

dired-files-attributes is a byte-compiled function defined in dired-aux.el.gz.

Signature

(dired-files-attributes DIR)

Documentation

Return a list of all file names and attributes from DIR.

List has a form of (file-name full-file-name (attribute-list)).

Source Code

;; Defined in /usr/src/emacs/lisp/dired-aux.el.gz
(defun dired-files-attributes (dir)
  "Return a list of all file names and attributes from DIR.
List has a form of (file-name full-file-name (attribute-list))."
  (mapcar
   (lambda (file-name)
     (let ((full-file-name (expand-file-name file-name dir)))
       (list file-name
             full-file-name
             (file-attributes full-file-name))))
   (directory-files dir)))