Function: tramp-archive-cleanup-hash

tramp-archive-cleanup-hash is a byte-compiled function defined in tramp-archive.el.gz.

Signature

(tramp-archive-cleanup-hash)

Documentation

Remove local copies of archives, used by GVFS.

Source Code

;; Defined in /usr/src/emacs/lisp/net/tramp-archive.el.gz
(defun tramp-archive-cleanup-hash ()
  "Remove local copies of archives, used by GVFS."
  ;; Don't check for a proper method.
  (let ((non-essential t))
    (maphash
     (lambda (key value)
       ;; Unmount local copy.
       (ignore-errors
	 (tramp-message (car value) 3 "Unmounting %s" (or (cdr value) key))
	 (tramp-gvfs-unmount (car value)))
       ;; Delete local copy.
       (ignore-errors (delete-file (cdr value)))
       (remhash key tramp-archive-hash))
     tramp-archive-hash)
    (clrhash tramp-archive-hash)))