Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/cloudfoundry/java-buildpack-memory-calculator
/ IsStack
Function
IsStack
memory/stack.go:31–33 ·
view source on GitHub ↗
(s string)
Source
from the content-addressed store, hash-verified
29
type
Stack Size
30
31
func
IsStack(s string) bool {
32
return
stackRE.MatchString(strings.TrimSpace(s))
33
}
34
35
func
ParseStack(s string) (Stack, error) {
36
t := strings.TrimSpace(s)
Callers
2
TestStack
Function · 0.92
Set
Method · 0.92
Calls
no outgoing calls
Tested by
1
TestStack
Function · 0.74