MCPcopy Create free account
hub / github.com/coder/guts / IsReferenced

Method IsReferenced

references.go:77–79  ·  view source on GitHub ↗
(ty types.Object)

Source from the content-addressed store, hash-verified

75}
76
77func (r *referencedTypes) IsReferenced(ty types.Object) bool {
78 return r.state(ty) != nil
79}
80
81func (r *referencedTypes) IsGenerated(ty types.Object) bool {
82 if state := r.state(ty); state != nil {

Callers 1

Calls 1

stateMethod · 0.95

Tested by

no test coverage detected