MCPcopy Create free account
hub / github.com/devld/go-drive / VM

Struct VM

script/runtime.go:19–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17var jsDir embed.FS
18
19type VM struct {
20 o *otto.Otto
21 vms map[*otto.Otto]*VM
22 vmsMu *sync.RWMutex
23
24 disposables map[any]struct{}
25}
26
27func NewVM() (*VM, error) {
28 ovm := otto.New()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected