Function: tramp-build-file-name-structure

tramp-build-file-name-structure is a byte-compiled function defined in tramp.el.gz.

Signature

(tramp-build-file-name-structure)

Documentation

Construct the Tramp file name structure for a Tramp syntax.

It is expected, that tramp-syntax has the proper value. See tramp-file-name-structure.

Source Code

;; Defined in /usr/src/emacs/lisp/net/tramp.el.gz
(defun tramp-build-file-name-structure ()
  "Construct the Tramp file name structure for a Tramp syntax.
It is expected, that `tramp-syntax' has the proper value.
See `tramp-file-name-structure'."
  (list
   (concat
    tramp-prefix-regexp
    "\\(" "\\(?:" tramp-remote-file-name-spec-regexp
                  tramp-postfix-hop-regexp "\\)+" "\\)?"
    tramp-remote-file-name-spec-regexp tramp-postfix-host-regexp
    "\\(" tramp-localname-regexp "\\)")
   5 6 7 8 1))