Function: forge--topic-template-files-1
forge--topic-template-files-1 is a natively compiled function defined
in forge-topic.el.
Signature
(forge--topic-template-files-1 REPO SUFFIX &rest PATHS)
Source Code
;; Defined in /nix/store/923zwib42c4qw6x4xps0cv1wi8qcd6lp-emacs-packages-deps/share/emacs/site-lisp/elpa/forge-20261005.753/forge-topic.el
(defun forge--topic-template-files-1 (repo suffix &rest paths)
(setq suffix (ensure-list suffix))
(let ((branch (forge--get-default-branch repo)))
(seq-keep (if suffix
(##and (member (file-name-extension %) suffix)
(concat branch ":" %))
(##concat branch ":" %))
(magit-git-items "ls-tree" "-z"
"--full-tree" "--name-only"
(and suffix "-r")
branch "--" paths))))