MCPcopy 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
173func (v *VM) PutDisposable(o any) {
174 v.disposables[o] = struct{}{}
175}
176
177func (v *VM) RemoveDisposable(o any) {
178 delete(v.disposables, o)

Callers 4

vm_newContextWithTimeoutFunction · 0.80
NewReadCloserFunction · 0.80
NewTempFileFunction · 0.80

Calls

no outgoing calls

Tested by 1