Function: forge--post-expand-file-name

forge--post-expand-file-name is a byte-compiled function defined in forge-post.el.

Signature

(forge--post-expand-file-name FILE REPO)

Source Code

;; Defined in ~/.emacs.d/elpa/forge-20260408.1922/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)))