pub async fn worktree_add_branch( repo: &Path, path: &Path, branch: &str, base: &str, ) -> Result<()>
Create a worktree at path with a fresh branch branch starting at base.
path
branch
base