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

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

Signature

(tramp-do-directory-files-and-attributes-with-perl VEC LOCALNAME &optional ID-FORMAT)

Documentation

Implement directory-files-and-attributes for Tramp files using a Perl script.

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-perl
  (vec localname &optional id-format)
  "Implement `directory-files-and-attributes' for Tramp files using a Perl script."
  (tramp-message vec 5 "directory-files-and-attributes with perl: %s" localname)
  (tramp-maybe-send-script
   vec tramp-perl-directory-files-and-attributes
   "tramp_perl_directory_files_and_attributes")
  (let ((object
	 (tramp-send-command-and-read
	  vec
	  (format "tramp_perl_directory_files_and_attributes %s %s"
		  (tramp-shell-quote-argument localname) id-format))))
    (when (stringp object) (tramp-error vec 'file-error object))
    object))