Function: magit-lightweight-tag-p

magit-lightweight-tag-p is a byte-compiled function defined in magit-git.el.

Signature

(magit-lightweight-tag-p STRING)

Documentation

Return t if STRING is a lightweight (un-annotated) tag, nil otherwise.

Signal an error if STRING is not a string.

Source Code

;; Defined in ~/.emacs.d/elpa/magit-20260822.1158/magit-git.el
(defun magit-lightweight-tag-p (string)
  "Return t if STRING is a lightweight (un-annotated) tag, nil otherwise.
Signal an error if STRING is not a string."
  (cl-assert (stringp string))
  (and (magit-tag-p string)
       (not (magit-annotated-tag-p string))))