Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
12
func
NewTaskCtx(vm *VM, c types.TaskCtx) TaskCtx {
13
return
TaskCtx{NewContext(vm, c), c}
14
}
15
16
func
GetContext(v any) context.Context {
17
switch
v := v.(
type
) {
Callers
1
vm_newTaskCtx
Function · 0.85
Calls
1
NewContext
Function · 0.85
Tested by
no test coverage detected