Function: tramp-get-completion-methods
tramp-get-completion-methods is a byte-compiled function defined in
tramp.el.gz.
Signature
(tramp-get-completion-methods PARTIAL-METHOD)
Documentation
Return all method completions for PARTIAL-METHOD.
Source Code
;; Defined in /usr/src/emacs/lisp/net/tramp.el.gz
;; This function returns all possible method completions, adding the
;; trailing method delimiter.
(defun tramp-get-completion-methods (partial-method)
"Return all method completions for PARTIAL-METHOD."
(mapcar
(lambda (method)
(and method (string-prefix-p (or partial-method "") method)
(tramp-completion-make-tramp-file-name method nil nil nil)))
(mapcar #'car tramp-methods)))