Function: magit--blob-cache-put

magit--blob-cache-put is a natively compiled function defined in magit-files.el.

Signature

(magit--blob-cache-put BUFFER)

Source Code

;; Defined in /nix/store/irvbdy0zra0dn8fpd008f32x5ix6qm5v-emacs-packages-deps/share/emacs/site-lisp/elpa/magit-20261005.508/magit-files.el
(defun magit--blob-cache-put (buffer)
  (if-let ((elt (assq buffer magit--blob-cache)))
      (setcdr elt (current-time))
    (push (cons buffer (current-time)) magit--blob-cache))
  (magit--blob-cache-start))