Function: majutsu-diff--set-section-path

majutsu-diff--set-section-path is a natively compiled function defined in majutsu-diff.el.

Signature

(majutsu-diff--set-section-path SECTION PATH)

Documentation

Set real file SECTION and its hunk identities to exact PATH.

Source Code

;; Defined in /nix/store/jagqw3nms546pad0gxi5f3wsckk6pji7-emacs-packages-deps/share/emacs/site-lisp/majutsu-diff.el
(defun majutsu-diff--set-section-path (section path)
  "Set real file SECTION and its hunk identities to exact PATH."
  (oset section value path)
  (dolist (child (oref section children))
    (when (magit-section-match 'jj-hunk child)
      (let ((value (oref child value)))
        (when (consp value)
          (oset child value (cons path (cdr value))))))))