pub fn capture_store_path(git_dir: &Path) -> PathBuf
What: The capture store directory of a worktree. Why: captureStorePath.
captureStorePath
In TS you’d write (pseudocode):
captureStorePath('/repo/.git') // '/repo/.git/cli-git-captures'