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

Function max

diffmatchpatch/mathutil.go:18–23  ·  view source on GitHub ↗
(x, y int)

Source from the content-addressed store, hash-verified

16}
17
18func max(x, y int) int {
19 if x > y {
20 return x
21 }
22 return y
23}

Callers 3

PatchAddContextMethod · 0.85
PatchSplitMaxMethod · 0.85
DiffLevenshteinMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected