Function: magit--blob-cache-put

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

Signature

(magit--blob-cache-put BUFFER)

Source Code

;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/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))