fc85f50a2b
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. |
||
---|---|---|
.. | ||
testdata/tools | ||
auth.go | ||
download.go | ||
fixblobs.go | ||
fixblobs_test.go | ||
images.go | ||
layer.go | ||
manifest.go | ||
manifest_test.go | ||
model.go | ||
model_test.go | ||
modelpath.go | ||
modelpath_test.go | ||
prompt.go | ||
prompt_test.go | ||
routes.go | ||
routes_create_test.go | ||
routes_delete_test.go | ||
routes_generate_test.go | ||
routes_list_test.go | ||
routes_test.go | ||
sched.go | ||
sched_test.go | ||
sparse_common.go | ||
sparse_windows.go | ||
upload.go |