Function: magit-repository-local-get
magit-repository-local-get is a byte-compiled function defined in
magit-mode.el.
Signature
(magit-repository-local-get KEY &optional DEFAULT REPOSITORY)
Documentation
Return the repository-local value for KEY.
Return DEFAULT if no value for KEY exists.
The KEY is matched using equal.
Unless specified, REPOSITORY is the current buffer's repository.
Source Code
;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/magit-mode.el
(defun magit-repository-local-get (key &optional default repository)
"Return the repository-local value for KEY.
Return DEFAULT if no value for KEY exists.
The KEY is matched using `equal'.
Unless specified, REPOSITORY is the current buffer's repository."
(if-let ((keyvalue (magit-repository-local-exists-p key repository)))
(cdr keyvalue)
default))