MCPcopy Create free account
hub / github.com/conforma/cli / Experimental

Function Experimental

internal/utils/helpers.go:97–99  ·  view source on GitHub ↗

detect if the EC_EXPERIMENTAL env var is set to enable experimental features

()

Source from the content-addressed store, hash-verified

95
96// detect if the EC_EXPERIMENTAL env var is set to enable experimental features
97func Experimental() bool {
98 return os.Getenv("EC_EXPERIMENTAL") == "1"
99}
100
101func IsOpaEnabled() bool {
102 return os.Getenv("EC_USE_OPA") == "1"

Callers 1

AddCommandsToFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected