Function: tramp-flush-connection-properties
tramp-flush-connection-properties is an autoloaded and byte-compiled
function defined in tramp-cache.el.gz.
Signature
(tramp-flush-connection-properties KEY)
Documentation
Remove all properties identified by KEY.
KEY identifies the connection, it is either a process or a
tramp-file-name structure. A special case is nil, which is
used to cache connection properties of the local machine.
Source Code
;; Defined in /usr/src/emacs/lisp/net/tramp-cache.el.gz
;;;###tramp-autoload
(defun tramp-flush-connection-properties (key)
"Remove all properties identified by KEY.
KEY identifies the connection, it is either a process or a
`tramp-file-name' structure. A special case is nil, which is
used to cache connection properties of the local machine."
(setq key (tramp-file-name-unify key))
(tramp-message
key 7 "%s %s" key
(when-let* ((hash (gethash key tramp-cache-data)))
(hash-table-keys hash)))
(setq tramp-cache-data-changed
(or tramp-cache-data-changed (tramp-file-name-p key)))
(remhash key tramp-cache-data))