MCPcopy
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
197func (ns nodeSet) Has(n *node) bool {
198 if ns == nil {
199 return false
200 }
201 _, exists := ns[n]
202 return exists
203}
204
205func (ns nodeSet) Add(n *node) {
206 ns[n] = struct{}{}

Callers 1

ListMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected