Function: forge--update-forks

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

Signature

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

Implementations

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

Undocumented

(forge--update-forks (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-forks ((repo forge-github-repository) data)
  (oset repo forks
        (with-slots (id) repo
          (mapcar (lambda (row)
                    (let-alist row
                      (nconc (forge--repository-ids
                              (eieio-object-class repo)
                              (oref repo githost)
                              .owner.login
                              .name)
                             (list .owner.login
                                   .name))))
                  (delete-dups data)))))