Skip to main content

Definition

Assembly: CloudNimble.ClaudeEssentials.dll Namespace: CloudNimble.ClaudeEssentials.Hooks.Tools.Inputs Inheritance: System.Object

Syntax

Summary

Represents the input parameters for the ExitWorktree tool. The ExitWorktree tool exits and optionally removes a git worktree.

Constructors

.ctor

Syntax

.ctor Inherited

Inherited from object

Syntax

Properties

Action

Gets or sets the action to take. WorktreeAction.Keep leaves the worktree and branch on disk; WorktreeAction.Remove deletes both.

Syntax

Property Value

Type: CloudNimble.ClaudeEssentials.Hooks.WorktreeAction

DiscardChanges

Gets or sets whether to force removal when the worktree has uncommitted files or unmerged commits. Required to be true when ExitWorktreeToolInput.Action is "remove" and there are uncommitted files or unmerged commits. The tool will refuse and list them otherwise.

Syntax

Property Value

Type: System.Nullable<bool>

Methods

Equals Inherited Virtual

Inherited from object

Syntax

Parameters

Returns

Type: bool

Equals Inherited

Inherited from object

Syntax

Parameters

Returns

Type: bool

GetHashCode Inherited Virtual

Inherited from object

Syntax

Returns

Type: int

GetType Inherited

Inherited from object

Syntax

Returns

Type: System.Type

MemberwiseClone Inherited

Inherited from object

Syntax

Returns

Type: object

ReferenceEquals Inherited

Inherited from object

Syntax

Parameters

Returns

Type: bool

ToString Inherited Virtual

Inherited from object

Syntax

Returns

Type: string?