Function: createGitCowWorktreeBuilder()
ts
function createGitCowWorktreeBuilder(options?): GitCowWorktreeBuilder;Defined in: git/src/builders/create-git-cow-worktree-builder.ts:33
Creates a fluent GitCowWorktreeBuilder (git.cowWorktree(options?)).
Defaults repo to '.' and dir to '.paraharness/worktree', and validates that both are non-empty strings at declaration time without performing any filesystem I/O.
Parameters
| Parameter | Type | Description |
|---|---|---|
options? | GitCowWorktreeOptions | Optional repository path, worktree base directory, and builder state. |
Returns
Immutable fluent worktree scope builder.
Throws
If options.repo or options.dir is empty.