Ensure sparse files on windows during download
The file.Truncate call on windows will write the whole file unless you set the sparse flag, leading to heavy I/O at the beginning of download. This should improve our I/O behavior on windows and put less stress on the users disk.
Showing
server/sparse_common.go
0 → 100644
server/sparse_windows.go
0 → 100644
Please register or sign in to comment