Skip to main content

Definition

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

Syntax

Summary

Represents the response payload returned by the Claude Code ExitWorktree tool after exiting and optionally removing a git worktree.

Remarks

Example JSON payload:

Constructors

.ctor

Syntax

.ctor Inherited

Inherited from object

Syntax

Properties

Action

Gets or sets the action that was performed.

Syntax

Property Value

Type: CloudNimble.ClaudeEssentials.Hooks.WorktreeAction

DiscardedCommits

Gets or sets the number of unmerged commits that were discarded when removing the worktree.

Syntax

Property Value

Type: System.Nullable<int>

DiscardedFiles

Gets or sets the number of uncommitted files that were discarded when removing the worktree.

Syntax

Property Value

Type: System.Nullable<int>

Message

Gets or sets a human-readable message about the operation.

Syntax

Property Value

Type: string

OriginalCwd

Gets or sets the original working directory before the worktree was entered.

Syntax

Property Value

Type: string

TmuxSessionName

Gets or sets the tmux session name, if applicable.

Syntax

Property Value

Type: string?

WorktreeBranch

Gets or sets the git branch name associated with the worktree.

Syntax

Property Value

Type: string?

WorktreePath

Gets or sets the file system path of the worktree that was exited.

Syntax

Property Value

Type: string

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?