MCPcopy Create free account
hub / github.com/cel-expr/cel-go / parseEnv

Function parseEnv

tools/compiler/compiler_test.go:353–357  ·  view source on GitHub ↗
(t *testing.T, name, path string)

Source from the content-addressed store, hash-verified

351}
352
353func parseEnv(t *testing.T, name, path string) (*env.Config, error) {
354 t.Helper()
355 opts := EnvironmentFile(path)
356 return envOptionToConfig(t, name, opts)
357}
358
359func envOptionToConfig(t *testing.T, name string, opts ...cel.EnvOption) (*env.Config, error) {
360 t.Helper()

Calls 2

EnvironmentFileFunction · 0.85
envOptionToConfigFunction · 0.85

Tested by

no test coverage detected