MCPcopy Create free account
hub / github.com/rsc/tmp / Apply

Method Apply

patch/textdiff.go:162–179  ·  view source on GitHub ↗

Apply applies the changes listed in the diff to the data, returning the new version.

(data []byte)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 4

getLineFunction · 0.85
CountMethod · 0.80
BytesMethod · 0.80
WriteMethod · 0.45

Tested by

no test coverage detected