Skip to content

Interface: GitKeepWorktreeNode ​

Defined in: core/dist/ast/domain/git-keep-worktree-node.d.ts:10

Passive AST node preserving a worktree's current working tree and topology overlay in-place across a signal-driven .rewindTo() (git.keepWorktree).

Leaves both the physical git worktree files and the run's uncommitted Copy-on-Write topology overlay intact when rewinding to an earlier flow step.

Extends ​

Properties ​

PropertyModifierTypeDescriptionOverridesInherited fromDefined in
__handleBrand?readonlyBivariantCallback<[handle: GitWorktreeHandle], void>Phantom type brand binding the hook to its compatible scope handle type.-BaseScopeRewindHookASTNode.__handleBrandcore/dist/ast/base/base-scope-rewind-hook-ast-node.d.ts:19
idreadonlystringLogical identifier of the rewind hook.-BaseScopeRewindHookASTNode.idcore/dist/ast/base/base-scope-rewind-hook-ast-node.d.ts:15
resetsRunOverlayreadonlyfalsePreserves uncommitted run topology overlay mutations across the rewind.BaseScopeRewindHookASTNode.resetsRunOverlay-core/dist/ast/domain/git-keep-worktree-node.d.ts:12
typereadonly"git:keep-worktree"Unique string-literal discriminant of the scope rewind hook node.-BaseScopeRewindHookASTNode.typecore/dist/ast/base/base-scope-rewind-hook-ast-node.d.ts:13

Released under the MIT License.