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

Function GetTaskCtx

script/object_context.go:36–42  ·  view source on GitHub ↗
(v any)

Source from the content-addressed store, hash-verified

34}
35
36func GetTaskCtx(v any) types.TaskCtx {
37 switch v := v.(type) {
38 case TaskCtx:
39 return v.v
40 }
41 return nil
42}
43
44type Context struct {
45 vm *VM

Callers 7

ProgressReaderMethod · 0.85
SaveMethod · 0.85
CopyMethod · 0.85
MoveMethod · 0.85
DeleteMethod · 0.85
vm_buildEntriesTreeFunction · 0.85
vm_findEntriesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected