MCPcopy Index your code
hub / github.com/cloudfoundry/cli / FormattedMemoryLimit

Method FormattedMemoryLimit

cf/models/space_quota.go:26–28  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

24const UnlimitedDisplay = "unlimited"
25
26func (q SpaceQuota) FormattedMemoryLimit() string {
27 return formatters.ByteSize(q.MemoryLimit * formatters.MEGABYTE)
28}
29
30func (q SpaceQuota) FormattedInstanceMemoryLimit() string {
31 if q.InstanceMemoryLimit == -1 {

Callers 1

quotaStringMethod · 0.80

Calls 1

ByteSizeFunction · 0.92

Tested by

no test coverage detected