MCPcopy Index your code
hub / github.com/coder/coder / minInt

Function minInt

coderd/tracing/status_writer.go:86–91  ·  view source on GitHub ↗
(a, b int)

Source from the content-addressed store, hash-verified

84}
85
86func minInt(a, b int) int {
87 if a < b {
88 return a
89 }
90 return b
91}
92
93// Unwrap returns the underlying ResponseWriter, allowing
94// http.ResponseController to reach it for SetWriteDeadline, etc.

Callers 1

WriteMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected