git-annex/Messages
Joey Hess 703a70cafa
avoid watchFileSize running backward
This is groundwork for using watchFileSize for downloads from external
special remotes.

In Annex.Content.downloadUrl, this potentially avoids jitter in the
progress meter. When downloading with conduit, the meter gets updated based
on both the size of the file, and on the data flowing through conduit.
If that has not yet been flushed to the file, it seems possible for the
meter to run backwards when meter is updated with the file size.
It's probably only a few kb of jitter, so may not be visible.

Sponsored-by: Dartmouth College's DANDI project
2024-01-19 14:11:27 -04:00
..
Concurrent.hs generalize to allow running in Assistant monad 2020-12-04 13:07:30 -04:00
Internal.hs Revert "--json-exceptions" 2023-04-25 17:37:34 -04:00
JSON.hs factor out maybeAddJSONField 2023-05-08 16:15:41 -04:00
Progress.hs avoid watchFileSize running backward 2024-01-19 14:11:27 -04:00
Serialized.hs Revert "--json-exceptions" 2023-04-25 17:37:34 -04:00