Function: forge-read-host
forge-read-host is a natively compiled function defined in
forge-repo.el.
Signature
(forge-read-host PROMPT &optional CLASS)
Source Code
;; Defined in /nix/store/923zwib42c4qw6x4xps0cv1wi8qcd6lp-emacs-packages-deps/share/emacs/site-lisp/elpa/forge-20261005.753/forge-repo.el
(defun forge-read-host (prompt &optional class)
(magit-completing-read
prompt
(if class
(seq-keep (pcase-lambda (`(,githost ,_apihost ,_webhost ,c))
(and (child-of-class-p c class) githost))
forge-alist)
(mapcar #'car forge-alist))
nil t))