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

Method setEnv

internal/devconfig/configfile/ast.go:462–467  ·  view source on GitHub ↗
(env map[string]string)

Source from the content-addressed store, hash-verified

460}
461
462func (c *configAST) setEnv(env map[string]string) {
463 c.createMemberIfMissing("env").Value.Value = &hujson.Object{
464 Members: mapToObjectMembers(env),
465 }
466 c.root.Format()
467}

Callers 1

SetEnvMethod · 0.80

Calls 3

createMemberIfMissingMethod · 0.95
mapToObjectMembersFunction · 0.85
FormatMethod · 0.45

Tested by

no test coverage detected