Function: tramp-crypt-file-name-handler

tramp-crypt-file-name-handler is an autoloaded and byte-compiled function defined in tramp-crypt.el.gz.

Signature

(tramp-crypt-file-name-handler OPERATION &rest ARGS)

Documentation

Invoke the encrypted remote file related OPERATION.

First arg specifies the OPERATION, second arg is a list of arguments to pass to the OPERATION.

Source Code

;; Defined in /usr/src/emacs/lisp/net/tramp-crypt.el.gz
;;;###tramp-autoload
(defun tramp-crypt-file-name-handler (operation &rest args)
  "Invoke the encrypted remote file related OPERATION.
First arg specifies the OPERATION, second arg is a list of
arguments to pass to the OPERATION."
  (if-let ((filename
	    (apply #'tramp-crypt-file-name-for-operation operation args))
	   (fn (and (tramp-crypt-file-name-p filename)
		    (assoc operation tramp-crypt-file-name-handler-alist))))
      (save-match-data (apply (cdr fn) args))
    (tramp-crypt-run-real-handler operation args)))