You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that io.PipeReader could implement WriterTo, such that connecting two files using a io.Pipe (a pattern common inside docker and friends) would use copy_file_range.
Proposal Details
It seems that
io.PipeReader
could implement WriterTo, such that connecting two files using aio.Pipe
(a pattern common inside docker and friends) would usecopy_file_range
.I coded up a prototype in https://go-review.googlesource.com/c/go/+/664395. This would add
PipeReader.WriteTo
.The text was updated successfully, but these errors were encountered: