MCPcopy Create free account
hub / github.com/despiteallobjections/amigo / lazyObject

Struct lazyObject

types/scope.go:243–248  ·  view source on GitHub ↗

A lazyObject represents an imported Object that has not been fully resolved yet by its importer.

Source from the content-addressed store, hash-verified

241// A lazyObject represents an imported Object that has not been fully
242// resolved yet by its importer.
243type lazyObject struct {
244 parent *Scope
245 resolve func() Object
246 obj Object
247 once sync.Once
248}
249
250// resolve returns the Object represented by obj, resolving lazy
251// objects as appropriate.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected