MCPcopy Index your code
hub / github.com/google/mtail / String

Method String

internal/runtime/compiler/types/types.go:119–126  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

117}
118
119func (t *Variable) String() string {
120 t.instanceMu.RLock()
121 defer t.instanceMu.RUnlock()
122 if t.Instance != nil {
123 return t.Instance.String()
124 }
125 return fmt.Sprintf("typeVar%d", t.ID)
126}
127
128// SetInstance sets the exemplar instance of this TypeVariable, during
129// unification. SetInstance is the equivalent of Union in the Union-Find

Callers

nothing calls this directly

Calls 1

StringMethod · 0.65

Tested by

no test coverage detected