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

Function extractSearchText

src/tools/FileWriteTool/FileWriteTool.ts:146–152  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

144 renderToolUseErrorMessage,
145 renderToolResultMessage,
146 extractSearchText() {
147 // Transcript render shows either content (create, via HighlightedCode)
148 // or a structured diff (update). The heuristic's 'content' allowlist key
149 // would index the raw content string even in update mode where it's NOT
150 // shown — phantom. Under-count: tool_use already indexes file_path.
151 return ''
152 },
153 async validateInput({ file_path, content }, toolUseContext: ToolUseContext) {
154 const fullFilePath = expandPath(file_path)
155

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected