Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/hashicorp/hcl
/ Has
Method
Has
hclwrite/node.go:197–203 ·
view source on GitHub ↗
(n *node)
Source
from the content-addressed store, hash-verified
195
}
196
197
func
(ns nodeSet) Has(n *node) bool {
198
if
ns == nil {
199
return
false
200
}
201
_, exists := ns[n]
202
return
exists
203
}
204
205
func
(ns nodeSet) Add(n *node) {
206
ns[n] =
struct
{}{}
Callers
1
List
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected