MCPcopy Create free account
hub / github.com/cli/cli / clearNonblocking

Function clearNonblocking

internal/safepaths/open_nonblock_unix.go:14–16  ·  view source on GitHub ↗
(file *os.File)

Source from the content-addressed store, hash-verified

12}
13
14func clearNonblocking(file *os.File) error {
15 return syscall.SetNonblock(int(file.Fd()), false)
16}

Callers 1

openVerifiedEntryMethod · 0.70

Calls 1

FdMethod · 0.65

Tested by

no test coverage detected