MCPcopy Index your code
hub / github.com/devspace-sh/devspace / Bool

Function Bool

pkg/util/ptr/ptr.go:33–35  ·  view source on GitHub ↗

Bool returns a pointer to a bool variable

(val bool)

Source from the content-addressed store, hash-verified

31
32// Bool returns a pointer to a bool variable
33func Bool(val bool) *bool {
34 return &val
35}
36
37// ReverseBool returns a bool from a bool pointer
38func ReverseBool(val *bool) bool {

Callers 15

TestNewFunction · 0.92
createPVCFunction · 0.92
AddKubectlDeploymentMethod · 0.92
UpgradeMethod · 0.92
TestSimpleFunction · 0.92
TestSimpleFunction · 0.92
UpgradeMethod · 0.92
mergeDevConfigMethod · 0.92
TestSimpleFunction · 0.92
TestSimpleFunction · 0.92
TestSimpleFunction · 0.92
TestSimpleFunction · 0.92

Calls

no outgoing calls

Tested by 9

TestNewFunction · 0.74
TestSimpleFunction · 0.74
TestSimpleFunction · 0.74
TestSimpleFunction · 0.74
TestSimpleFunction · 0.74
TestSimpleFunction · 0.74
TestSimpleFunction · 0.74
TestSimpleFunction · 0.74
TestBoolFunction · 0.68