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

Function positiveInt64

coderd/x/chatd/chatloop/chatloop.go:2186–2191  ·  view source on GitHub ↗
(value int64)

Source from the content-addressed store, hash-verified

2184}
2185
2186func positiveInt64(value int64) (int64, bool) {
2187 if value <= 0 {
2188 return 0, false
2189 }
2190 return value, true
2191}

Callers 2

numericContextLimitValueFunction · 0.85
TestPositiveInt64Function · 0.85

Calls

no outgoing calls

Tested by 1

TestPositiveInt64Function · 0.68