Function: eshell-directory-files-and-attributes
eshell-directory-files-and-attributes is a byte-compiled function
defined in esh-util.el.gz.
Signature
(eshell-directory-files-and-attributes DIR &optional FULL MATCH NOSORT ID-FORMAT)
Documentation
Make sure to use the handler for directory-files-and-attributes.
Source Code
;; Defined in /usr/src/emacs/lisp/eshell/esh-util.el.gz
(defun eshell-directory-files-and-attributes (dir &optional full match nosort id-format)
"Make sure to use the handler for `directory-files-and-attributes'."
(let* ((dir (expand-file-name dir)))
(if (string-equal (file-remote-p dir 'method) "ftp")
(let ((files (directory-files dir full match nosort)))
(mapcar
(lambda (file)
(cons file (eshell-file-attributes (expand-file-name file dir))))
files))
(directory-files-and-attributes dir full match nosort id-format))))