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

Struct Patch

diffmatchpatch/patch.go:22–28  ·  view source on GitHub ↗

Patch represents one patch operation.

Source from the content-addressed store, hash-verified

20
21// Patch represents one patch operation.
22type Patch struct {
23 diffs []Diff
24 Start1 int
25 Start2 int
26 Length1 int
27 Length2 int
28}
29
30// String emulates GNU diff's format.
31// Header: @@ -382,8 +481,9 @@

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected