Interface: GitWorktreeHandle
Defined in: ast/domain/git-worktree-handle.ts:7
Runtime scope handle for an isolated Copy-on-Write Git worktree (git.cowWorktree).
Tracks the physical worktreePath, isolated gitDirPath, immutable baseRef, stacked baseBranch, and any unresolvedConflictPaths mapped to their conflict-time digests.
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
baseBranch | readonly | string | Target upstream or prerequisite base branch name (such as 'main' or 'fix/#102'). | ast/domain/git-worktree-handle.ts:15 |
baseRef | readonly | string | Base commit SHA against which working-tree diffs and squashes are computed. | ast/domain/git-worktree-handle.ts:13 |
branchName? | readonly | string | Optional feature branch name pushed for this worktree. | ast/domain/git-worktree-handle.ts:17 |
gitDirPath | readonly | string | Path to the worktree's isolated .git/worktrees/<id> metadata directory. | ast/domain/git-worktree-handle.ts:11 |
headRef? | readonly | string | Optional latest synthesized or committed HEAD SHA. | ast/domain/git-worktree-handle.ts:19 |
unresolvedConflictPaths | readonly | Readonly<Record<string, string>> | Conflicted file paths mapped to their conflict-materialized ${mode}:${sha256} digests ('MISSING' if absent). | ast/domain/git-worktree-handle.ts:21 |
worktreePath | readonly | string | Absolute or host-relative filesystem path to the isolated worktree working directory. | ast/domain/git-worktree-handle.ts:9 |