MCPcopy Index your code
hub / github.com/git-bug/git-bug / minInt

Function minInt

termui/termui.go:364–369  ·  view source on GitHub ↗
(a, b int)

Source from the content-addressed store, hash-verified

362}
363
364func minInt(a, b int) int {
365 if a > b {
366 return b
367 }
368 return a
369}

Callers 10

layoutMethod · 0.85
layoutMethod · 0.85
doPaginateMethod · 0.85
getColumnWidthsMethod · 0.85
renderMethod · 0.85
cursorDownMethod · 0.85
cursorClampMethod · 0.85
selectNextMethod · 0.85
scrollDownMethod · 0.85
selectNextMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected