Function: tramp-archive-file-name-p

tramp-archive-file-name-p is an autoloaded and byte-compiled function defined in tramp-archive.el.gz.

Signature

(tramp-archive-file-name-p NAME)

Documentation

Return t if NAME is a string with archive file name syntax.

Source Code

;; Defined in /usr/src/emacs/lisp/net/tramp-archive.el.gz
;; File name conversions.

;;;###tramp-autoload
(defun tramp-archive-file-name-p (name)
  "Return t if NAME is a string with archive file name syntax."
  (and (stringp name)
       ;; `tramp-archive-file-name-regexp' does not suppress quoted file names.
       (not (file-name-quoted-p name t))
       ;; We cannot use `string-match-p', the matches are used.
       (string-match tramp-archive-file-name-regexp name)
       t))