Function: tramp-do-directory-files-and-attributes-with-stat

tramp-do-directory-files-and-attributes-with-stat is a byte-compiled function defined in tramp-sh.el.gz.

Signature

(tramp-do-directory-files-and-attributes-with-stat VEC LOCALNAME)

Documentation

Implement directory-files-and-attributes for Tramp files with stat(1) command.

Source Code

;; Defined in /usr/src/emacs/lisp/net/tramp-sh.el.gz
;; FIXME: Fix function to work with count parameter.
(defun tramp-do-directory-files-and-attributes-with-stat (vec localname)
  "Implement `directory-files-and-attributes' for Tramp files with stat(1) command."
  (tramp-message vec 5 "directory-files-and-attributes with stat: %s" localname)
  (tramp-maybe-send-script
   vec tramp-stat-directory-files-and-attributes
   "tramp_stat_directory_files_and_attributes")
  (tramp-send-command-and-read
   vec (format "tramp_stat_directory_files_and_attributes %s"
	       (tramp-shell-quote-argument localname))))