Function: tramp-list-connections
tramp-list-connections is an autoloaded and byte-compiled function
defined in tramp-cache.el.gz.
Signature
(tramp-list-connections)
Documentation
Return all active tramp-file-name structs according to tramp-cache-data.
Source Code
;; Defined in /usr/src/emacs/lisp/net/tramp-cache.el.gz
;;;###tramp-autoload
(defun tramp-list-connections ()
"Return all active `tramp-file-name' structs according to `tramp-cache-data'."
(let ((tramp-verbose 0))
(delq nil (mapcar
(lambda (key)
(and (tramp-file-name-p key)
(null (tramp-file-name-localname key))
(tramp-connection-property-p key "process-buffer")
key))
(hash-table-keys tramp-cache-data)))))