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

Function FileWith

sd/file.go:455–479  ·  view source on GitHub ↗

FileWith returns any file descriptor (as an *os.File) which matches the given systemd name *and* any FileTests provided from the available pool of (inherited) file descriptors. The file descriptor is marked as no longer available and forgotten by the library. If the name requested is "", any file de

(sdname string, tests ...FileTest)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

InheritNamedListenerFunction · 0.85
InheritNamedPacketConnFunction · 0.85

Calls 1

isMatchingMethod · 0.80

Tested by

no test coverage detected