Function: majutsu-evolog--validate-commit-id

majutsu-evolog--validate-commit-id is a natively compiled function defined in majutsu-evolog.el.

Signature

(majutsu-evolog--validate-commit-id COMMIT-ID)

Documentation

Return COMMIT-ID when it is a hexadecimal commit id.

Source Code

;; Defined in /nix/store/jagqw3nms546pad0gxi5f3wsckk6pji7-emacs-packages-deps/share/emacs/site-lisp/majutsu-evolog.el
(defun majutsu-evolog--validate-commit-id (commit-id)
  "Return COMMIT-ID when it is a hexadecimal commit id."
  (unless (and (stringp commit-id)
               (string-match-p "\\`[0-9a-f]+\\'" commit-id))
    (user-error "Invalid evolog commit id: %S" commit-id))
  (substring-no-properties commit-id))