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

Function NewContext

script/object_context.go:8–10  ·  view source on GitHub ↗
(vm *VM, c context.Context)

Source from the content-addressed store, hash-verified

6)
7
8func NewContext(vm *VM, c context.Context) Context {
9 return Context{vm, c}
10}
11
12func NewTaskCtx(vm *VM, c types.TaskCtx) TaskCtx {
13 return TaskCtx{NewContext(vm, c), c}

Callers 3

vm_newContextFunction · 0.85
vm_newContextWithTimeoutFunction · 0.85
NewTaskCtxFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected