Go Reference

golang.org/x/build/maintner/internal/robustio

Package robustio wraps I/O functions that are prone to failure on Windows, transparently retrying errors up to an arbitrary timeout.