Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/devld/go-drive
/ PutDisposable
Method
PutDisposable
script/runtime.go:173–175 ·
view source on GitHub ↗
(o any)
Source
from the content-addressed store, hash-verified
171
}
172
173
func
(v *VM) PutDisposable(o any) {
174
v.disposables[o] =
struct
{}{}
175
}
176
177
func
(v *VM) RemoveDisposable(o any) {
178
delete(v.disposables, o)
Callers
4
vm_newContextWithTimeout
Function · 0.80
NewReadCloser
Function · 0.80
NewTempFile
Function · 0.80
TestVMPoolReturnDisposesRequestResources
Function · 0.80
Calls
no outgoing calls
Tested by
1
TestVMPoolReturnDisposesRequestResources
Function · 0.64