Skip to content

Interface: GitCowWorktreeOptions ​

Defined in: git/src/builders/git-cow-worktree-options.ts:31

Configuration options for git.cowWorktree(options) (createGitCowWorktreeBuilder).

Specifies the host Git repository root (repo), the disjoint sibling workspace directory (dir), and optional pre-populated builder state fields for immutable builder chaining.

Properties ​

PropertyModifierTypeDescriptionDefined in
checkpointPolicy?readonlyGitCowWorktreeCheckpointPolicyOptional dirty-index checkpointing configuration.git/src/builders/git-cow-worktree-options.ts:45
conflictCleanCheck?readonlyGitCleanWorkingTreeNode<GitWorktreeHandle>Optional custom conflict cleanliness check node overriding the default git:clean-working-tree check.git/src/builders/git-cow-worktree-options.ts:49
dir?readonlystringBase directory under which roots/<runId> and forks/<runId>/<forkId> worktrees are created (defaults to '.paraharness/worktree').git/src/builders/git-cow-worktree-options.ts:37
excludeFromCloneGlobs?readonlyreadonly string[]Optional glob patterns excluded when cloning dirty working-tree files into a worktree.git/src/builders/git-cow-worktree-options.ts:43
id?readonlystringOptional logical identifier for the isolation scope node (defaults to 'git-cow-worktree').git/src/builders/git-cow-worktree-options.ts:33
lockfileGatePath?readonlystringOptional lockfile path whose SHA-256 digest gates whether setupCommands can be skipped.git/src/builders/git-cow-worktree-options.ts:41
reconcileStrategy?readonlyGitReconcileStrategyConfig<GitWorktreeHandle>Optional branch landing reconciliation strategy ('rebase-onto-base' or 'batch-merge-train').git/src/builders/git-cow-worktree-options.ts:47
repo?readonlystringPath to the host Git repository (defaults to '.').git/src/builders/git-cow-worktree-options.ts:35
setupCommands?readonlyreadonly ASTNode[]Optional ordered setup step AST nodes executed when initializing a root worktree.git/src/builders/git-cow-worktree-options.ts:39

Released under the MIT License.