Function: magit-apply--get-diffs

magit-apply--get-diffs is a byte-compiled function defined in magit-apply.el.

Signature

(magit-apply--get-diffs SECTIONS)

Source Code

;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/magit-apply.el
(defun magit-apply--get-diffs (sections)
  (magit-section-case
    ([file diffstat]
     (mapcar (lambda (section)
               (or (magit-get-section
                    (append `((file . ,(oref section value)))
                            (magit-section-ident magit-root-section)))
                   (error "Cannot get required diff headers")))
             sections))
    (t sections)))