MCPcopy Create free account
hub / github.com/AnukarOP/claude-code-leaked / getResultText

Function getResultText

source code/remote/sdkMessageAdapter.ts:299–304  ·  view source on GitHub ↗
(msg: SDKResultMessage)

Source from the content-addressed store, hash-verified

297 * Extract the result text from a successful SDKResultMessage
298 */
299export function getResultText(msg: SDKResultMessage): string | null {
300 if (msg.subtype === 'success') {
301 return msg.result
302 }
303 return null
304}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected