Function: tramp-gvfs-file-name-p
tramp-gvfs-file-name-p is a byte-compiled function defined in
tramp-gvfs.el.gz.
Signature
(tramp-gvfs-file-name-p VEC-OR-FILENAME)
Documentation
Check if it's a VEC-OR-FILENAME handled by the GVFS daemon.
Source Code
;; Defined in /usr/src/emacs/lisp/net/tramp-gvfs.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-gvfs-file-name-p (vec-or-filename)
"Check if it's a VEC-OR-FILENAME handled by the GVFS daemon."
(when-let* ((vec (tramp-ensure-dissected-file-name vec-or-filename)))
(let ((method (tramp-file-name-method vec)))
(and (stringp method) (member method tramp-gvfs-methods)))))