MCPcopy Create free account
hub / github.com/sergi/go-diff / Patch

Struct Patch

diffmatchpatch/patch.go:57–63  ·  view source on GitHub ↗

Patch represents one patch operation.

Source from the content-addressed store, hash-verified

55
56// Patch represents one patch operation.
57type Patch struct {
58 diffs []Diff
59 Start1 int
60 Start2 int
61 Length1 int
62 Length2 int
63}
64
65// String emulates GNU diff's format.
66// Header: @@ -382,8 +481,9 @@

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected