Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
Indexed
MCP
copy
Index your code
hub
/
github.com/anomalyco/opencode
/ apply_patch.ts
File
apply_patch.ts
packages/opencode/src/tool/apply_patch.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
* as path from
"path"
2
import
{ Effect, Schema } from
"effect"
3
import
* as Tool from
"./tool"
4
import
{ EventV2Bridge } from
"@/event-v2-bridge"
Callers
nothing calls this directly
Calls
6
trimDiff
Function · 0.90
push
Method · 0.80
file
Method · 0.80
remove
Method · 0.65
run
Function · 0.50
publish
Method · 0.45
Tested by
no test coverage detected