Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/cloudfoundry/cli
/ InstanceMemoryLimit
Function
InstanceMemoryLimit
cf/formatters/memoryLimit.go:5–11 ·
view source on GitHub ↗
(limit int64)
Source
from the content-addressed store, hash-verified
3
import
"strconv"
4
5
func
InstanceMemoryLimit(limit int64) string {
6
if
limit == -1 {
7
return
"unlimited"
8
}
9
10
return
strconv.FormatInt(limit, 10) +
"M"
11
}
Callers
2
Execute
Method · 0.92
memoryLimit_test.go
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected