Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/devld/go-drive
/ Set
Method
Set
script/runtime.go:68–70 ·
view source on GitHub ↗
(name string, value any)
Source
from the content-addressed store, hash-verified
66
}
67
68
func
(v *VM) Set(name string, value any) {
69
v.o.Set(name, value)
70
}
71
72
func
(v *VM) Fork() *VM {
73
v.vmsMu.Lock()
Callers
15
parseValue
Function · 0.45
TestDetachedErrorSurvivesVMFork
Function · 0.45
vm_http
Function · 0.45
initVarsForVm
Function · 0.45
Limiter
Method · 0.45
SetResult
Function · 0.45
SetToken
Function · 0.45
SetMessageSource
Function · 0.45
SetPrincipal
Function · 0.45
_getDrive
Method · 0.45
zipDownload
Method · 0.45
savePathMeta
Method · 0.45
Calls
no outgoing calls
Tested by
3
TestDetachedErrorSurvivesVMFork
Function · 0.36
TestPermissionErrorReturnsForbidden
Function · 0.36
newSharedStateTestVM
Function · 0.36