MCPcopy Create free account
hub / github.com/One-com/gone / Forget

Function Forget

sd/file.go:329–362  ·  view source on GitHub ↗

Forget makes the sd library forget about its file descriptor (made by Export) associated with either an exported object or a string naming a file descriptor. If more file descriptors are named the same, they are all closed. Forget should be passed, either a string naming the file descriptor, OR the

(f interface{})

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

TestExportFunction · 0.85
TestForgetFunction · 0.85
TestListenTCPFunction · 0.85

Calls 1

CloseMethod · 0.65

Tested by 3

TestExportFunction · 0.68
TestForgetFunction · 0.68
TestListenTCPFunction · 0.68