MCPcopy
hub / github.com/cloudflare/tableflip / copy

Method copy

fds.go:398–408  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

396}
397
398func (f *Fds) copy() map[fileName]*file {
399 f.mu.Lock()
400 defer f.mu.Unlock()
401
402 files := make(map[fileName]*file, len(f.used))
403 for key, file := range f.used {
404 files[key] = file
405 }
406
407 return files
408}
409
410func (f *Fds) closeInherited() {
411 f.mu.Lock()

Callers 7

doUpgradeMethod · 0.80
TestFdsListenFunction · 0.80
TestFdsRemoveUnixFunction · 0.80
TestFdsConnFunction · 0.80
TestFdsFileFunction · 0.80
TestFdsFilesFunction · 0.80

Calls

no outgoing calls

Tested by 6

TestFdsListenFunction · 0.64
TestFdsRemoveUnixFunction · 0.64
TestFdsConnFunction · 0.64
TestFdsFileFunction · 0.64
TestFdsFilesFunction · 0.64