MCPcopy Index your code
hub / github.com/CodebuffAI/codebuff / successResult

Function successResult

sdk/src/tools/apply-patch.ts:571–579  ·  view source on GitHub ↗
(file: string, action: PatchAction)

Source from the content-addressed store, hash-verified

569}
570
571function successResult(file: string, action: PatchAction): ApplyPatchJson {
572 return {
573 type: 'json',
574 value: {
575 message: 'Applied 1 patch operation.',
576 applied: [{ file, action }],
577 },
578 }
579}
580
581function errorResult(errorMessage: string): ApplyPatchJson {
582 return {

Callers 1

applyPatchToolFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected