Function: tramp-sh-handle-file-exists-p

tramp-sh-handle-file-exists-p is a byte-compiled function defined in tramp-sh.el.gz.

Signature

(tramp-sh-handle-file-exists-p FILENAME)

Documentation

Like file-exists-p for Tramp files.

Source Code

;; Defined in /usr/src/emacs/lisp/net/tramp-sh.el.gz
;; Basic functions.

(defun tramp-sh-handle-file-exists-p (filename)
  "Like `file-exists-p' for Tramp files."
  (tramp-skeleton-file-exists-p filename
    (tramp-send-command-and-check
     v
     (format
      "%s %s"
      (tramp-get-file-exists-command v)
      (tramp-shell-quote-argument localname)))))