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

Function NewTaskCtx

script/object_context.go:12–14  ·  view source on GitHub ↗
(vm *VM, c types.TaskCtx)

Source from the content-addressed store, hash-verified

10}
11
12func NewTaskCtx(vm *VM, c types.TaskCtx) TaskCtx {
13 return TaskCtx{NewContext(vm, c), c}
14}
15
16func GetContext(v any) context.Context {
17 switch v := v.(type) {

Callers 1

vm_newTaskCtxFunction · 0.85

Calls 1

NewContextFunction · 0.85

Tested by

no test coverage detected