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
(rx
(regexp tramp-prefix-regexp)
(? (group (+ (regexp tramp-remote-file-name-spec-regexp)
(regexp tramp-postfix-hop-regexp))))
(regexp tramp-remote-file-name-spec-regexp)
(regexp tramp-postfix-host-regexp)
(group (regexp tramp-localname-regexp)))
5 6 7 8 1))