pub async fn worktree_add(
path: impl AsRef<Path>,
worktree_path: impl AsRef<Path>,
branch: String,
base_branch: String,
create_branch: bool,
) -> Result<GitWorktreeInfo, AppError>Expand description
Create a worktree asynchronously.