MCPcopy Create free account
hub / github.com/codeaashu/claude-code / isDestructive

Function isDestructive

src/tools/ExitWorktreeTool/ExitWorktreeTool.ts:168–170  ·  view source on GitHub ↗
(input)

Source from the content-addressed store, hash-verified

166 },
167 shouldDefer: true,
168 isDestructive(input) {
169 return input.action === 'remove'
170 },
171 toAutoClassifierInput(input) {
172 return input.action
173 },

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected