Function: majutsu-repository-config-id
majutsu-repository-config-id is a natively compiled function defined
in majutsu-core.el.
Signature
(majutsu-repository-config-id &optional CREATE)
Documentation
Return jj's secure repo config id for the current repository.
When CREATE is non-nil, ask jj to create the repo config id first if it does not exist yet.
Source Code
;; Defined in /nix/store/jagqw3nms546pad0gxi5f3wsckk6pji7-emacs-packages-deps/share/emacs/site-lisp/majutsu-core.el
(defun majutsu-repository-config-id (&optional create)
"Return jj's secure repo config id for the current repository.
When CREATE is non-nil, ask jj to create the repo config id first if it
does not exist yet."
(when-let* ((file (majutsu-repository-config-id-file)))
(when (and create (not (file-readable-p file)))
(majutsu-jj-string "config" "path" "--repo"))
(when (file-readable-p file)
(with-temp-buffer
(insert-file-contents file)
(string-trim (buffer-string))))))