MCPcopy Index your code
hub / github.com/jetify-com/devbox / Has

Method Has

internal/devbox/envpath/stack.go:93–95  ·  view source on GitHub ↗

Has tests if the stack has the key corresponding to projectHash

(projectHash string)

Source from the content-addressed store, hash-verified

91
92// Has tests if the stack has the key corresponding to projectHash
93func (s *stack) Has(projectHash string) bool {
94 return lo.Contains(s.keys, Key(projectHash))
95}

Callers 2

listenToEventsFunction · 0.80
IsEnvEnabledMethod · 0.80

Calls 1

KeyFunction · 0.85

Tested by

no test coverage detected