Function: forge--post-expand-file-name
forge--post-expand-file-name is a natively compiled function defined
in forge-post.el.
Signature
(forge--post-expand-file-name FILE REPO)
Source Code
;; Defined in /nix/store/923zwib42c4qw6x4xps0cv1wi8qcd6lp-emacs-packages-deps/share/emacs/site-lisp/elpa/forge-20261005.753/forge-post.el
(defun forge--post-expand-file-name (file repo)
(if-let ((worktree (oref repo worktree)))
(expand-file-name (concat "magit/posts/" file) (magit-gitdir worktree))
(expand-file-name (with-slots (githost owner name) repo
(format "%s_%s-%s_%s" githost owner name file))
forge-post-fallback-directory)))