Function: tramp-file-name-method
tramp-file-name-method is a byte-compiled function defined in
tramp.el.gz.
Signature
(tramp-file-name-method CL-X)
Documentation
Access slot "method" of tramp-file-name struct CL-X.
Source Code
;; Defined in /usr/src/emacs/lisp/net/tramp.el.gz
;;; Internal functions which must come first:
;; Conversion functions between external representation and
;; internal data structure. Convenience functions for internal
;; data structure.
;; The basic structure for remote file names.
;; Note: We started autoloading it in tramp-loaddefs.el, because some
;; functions, which needed it, wouldn't work otherwise when unloading
;; / reloading Tramp (Bug#50869).
;; This bug is fixed in Emacs 29, but other parts of Tramp have grown
;; dependencies on having this in tramp-loaddefs.el in the mean time,
;; so .... here we are.
;;;###tramp-autoload(require 'cl-lib)
;;;###tramp-autoload
(progn
(cl-defstruct (tramp-file-name (:type list) :named)
method user domain host port localname hop))