Function: tramp-ftp-file-name-p

tramp-ftp-file-name-p is a byte-compiled function defined in tramp-ftp.el.gz.

Signature

(tramp-ftp-file-name-p VEC-OR-FILENAME)

Documentation

Check if it's a VEC-OR-FILENAME that should be forwarded to Ange-FTP.

Source Code

;; Defined in /usr/src/emacs/lisp/net/tramp-ftp.el.gz
;; It must be a `defsubst' in order to push the whole code into
;; tramp-loaddefs.el.  Otherwise, there would be recursive autoloading.
;;;###tramp-autoload
(defsubst tramp-ftp-file-name-p (vec-or-filename)
  "Check if it's a VEC-OR-FILENAME that should be forwarded to Ange-FTP."
  (when-let* ((vec (tramp-ensure-dissected-file-name vec-or-filename)))
    (string= (tramp-file-name-method vec) tramp-ftp-method)))