Function: forge--update-labels

forge--update-labels is a byte-compiled function defined in forge-github.el.

Signature

(forge--update-labels ARG &rest ARGS)

Implementations

(forge--update-labels (REPO forge-gitlab-repository) DATA) in `forge-gitlab.el'.

Undocumented

(forge--update-labels (REPO forge-github-repository) DATA) in `forge-github.el'.

Undocumented

Source Code

;; Defined in ~/.emacs.d/elpa/forge-20260408.1922/forge-github.el
(cl-defmethod forge--update-labels ((repo forge-github-repository) data)
  (oset repo labels
        (with-slots (id) repo
          (mapcar (lambda (row)
                    (let-alist row
                      (list (forge--object-id id .id)
                            .name
                            (concat "#" (downcase .color))
                            .description)))
                  (delete-dups data)))))