Closed cpuguy83 closed 5 years ago
ping @tonistiigi
What if the underlying file is not opened yet. Should we return a mock one that unblocks when the opened channel closes?
Ah just realized there is the non-blocking open.
Updated, added new tests, updated CI to test on tip so that new tests will actually run.
From travis run 😄
This allows raw access to the underlying FD, enabling things like in-kernel copy methods such as
splice
andtee
.This interface was added to
*os.File
as part of go1.12beta2.