MCPcopy Create free account
hub / github.com/buke/quickjs-go / contextValueSpec

Struct contextValueSpec

value_spec.go:51–53  ·  view source on GitHub ↗

contextValueSpec preserves legacy, context-bound Export(name, *Value) behavior.

Source from the content-addressed store, hash-verified

49
50// contextValueSpec preserves legacy, context-bound Export(name, *Value) behavior.
51type contextValueSpec struct {
52 value *Value
53}
54
55func (s contextValueSpec) Materialize(_ *Context) (*Value, error) {
56 if s.value == nil {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected