MCPcopy Create free account
hub / github.com/anomalyco/opencode / apply-patch.ts

File apply-patch.ts

packages/core/src/tool/apply-patch.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1export * as ApplyPatchTool from "./apply-patch"
2
3import { ToolFailure } from "@opencode-ai/llm"
4import { FileDiff } from "@opencode-ai/schema/file-diff"

Callers

nothing calls this directly

Calls 9

pushMethod · 0.80
toModelOutputFunction · 0.70
failFunction · 0.70
findMethod · 0.65
createMethod · 0.65
removeMethod · 0.65
makeMethod · 0.45
setMethod · 0.45
valuesMethod · 0.45

Tested by

no test coverage detected