Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/hashicorp/hcl
/ Set
Method
Set
cmd/hcldec/vars.go:70–73 ·
view source on GitHub ↗
(new string)
Source
from the content-addressed store, hash-verified
68
}
69
70
func
(vs *varSpecs) Set(new string) error {
71
*vs = append(*vs, new)
72
return
nil
73
}
74
75
func
(vs *varSpecs) Type() string {
76
return
"json-or-file"
Callers
12
decodeBodyToStruct
Function · 0.80
decodeBodyToMap
Function · 0.80
decodeBlockToValue
Function · 0.80
TestExpressionParseAndValue
Function · 0.80
type_expr.go
File · 0.80
getType
Function · 0.80
TestGetType
Function · 0.80
TestGetTypeDefaults
Function · 0.80
TestTypeString
Function · 0.80
TestDefaults_Apply
Function · 0.80
TestExpandUnknownBodies
Function · 0.80
impliedType
Method · 0.80
Calls
no outgoing calls
Tested by
6
TestExpressionParseAndValue
Function · 0.64
TestGetType
Function · 0.64
TestGetTypeDefaults
Function · 0.64
TestTypeString
Function · 0.64
TestDefaults_Apply
Function · 0.64
TestExpandUnknownBodies
Function · 0.64