Function: magit-repository-local-exists-p
magit-repository-local-exists-p is a byte-compiled function defined in
magit-mode.el.
Signature
(magit-repository-local-exists-p KEY &optional REPOSITORY)
Documentation
Non-nil when a repository-local value exists for KEY.
Return a (KEY . VALUE) cons cell.
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-exists-p (key &optional repository)
"Non-nil when a repository-local value exists for KEY.
Return a (KEY . VALUE) cons cell.
The KEY is matched using `equal'.
Unless specified, REPOSITORY is the current buffer's repository."
(and-let ((cache (assoc (or repository
(magit-repository-local-repository))
magit-repository-local-cache)))
(assoc key (cdr cache))))