Function: tramp-sshfs-file-name-p

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

Signature

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

Documentation

Check if it's a VEC-OR-FILENAME for sshfs.

Source Code

;; Defined in /usr/src/emacs/lisp/net/tramp-sshfs.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-sshfs-file-name-p (vec-or-filename)
  "Check if it's a VEC-OR-FILENAME for sshfs."
  (when-let* ((vec (tramp-ensure-dissected-file-name vec-or-filename)))
    (string= (tramp-file-name-method vec) tramp-sshfs-method)))