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 known tramp-file-name structs according to tramp-cache.

Source Code

;; Defined in /usr/src/emacs/lisp/net/tramp-cache.el.gz
;;;###tramp-autoload
(defun tramp-list-connections ()
  "Return all known `tramp-file-name' structs according to `tramp-cache'."
  (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)))))