Function: trashed-info-file

trashed-info-file is a natively compiled function defined in trashed.el.

Signature

(trashed-info-file TRASH-FILE)

Documentation

Return corresponding trash info filename to TRASH-FILE.

Source Code

;; Defined in /nix/store/7ppdacjhnynz276lxxnfw8sdz6r2k6h2-emacs-packages-deps/share/emacs/site-lisp/elpa/trashed-20230811.157/trashed.el
(defun trashed-info-file (trash-file)
  "Return corresponding trash info filename to TRASH-FILE."
  (if (eq system-type 'windows-nt)
      (replace-regexp-in-string "/\\$R\\([^/]+\\)$" "/$I\\1" trash-file)
    (expand-file-name (concat trash-file ".trashinfo") trashed-info-dir)))