Skip to main content

setup_worktree

Function setup_worktree 

Source
pub async fn setup_worktree(
    task_id: &str,
    title: &str,
    project_dir: &Path,
    store: &Option<Arc<TaskStore>>,
    repo: &str,
) -> Result<WorktreeSetup>
Expand description

Set up a worktree for task execution.

Returns the working directory, branch name, and default branch.