Function: tramp-androidsu-file-name-p

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

Signature

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

Documentation

Check whether VEC-OR-FILENAME is for the androidsu method.

Source Code

;; Defined in /usr/src/emacs/lisp/net/tramp-androidsu.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-androidsu-file-name-p (vec-or-filename)
  "Check whether VEC-OR-FILENAME is for the `androidsu' method."
  (and-let* ((vec (tramp-ensure-dissected-file-name vec-or-filename))
	     ((equal (tramp-file-name-method vec) tramp-androidsu-method)))))