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

Function min

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

Source from the content-addressed store, hash-verified

9package diffmatchpatch
10
11func min(x, y int) int {
12 if x < y {
13 return x
14 }
15 return y
16}
17
18func max(x, y int) int {
19 if x > y {

Callers 4

PatchAddContextMethod · 0.85
PatchApplyMethod · 0.85
PatchSplitMaxMethod · 0.85
MatchAlphabetMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected