mirror of
https://github.com/narrrl/proton-drive-linux.git
synced 2026-11-04 00:47:00 +01:00
A folder pin reads each file's modification time and size before it downloads the file. If the file's create landed during the download, the landing set Drive's time, and the pin then stored the blob under the old time. The file showed as kept offline but read as stale. After each download, the pin now compares the file's time and size with the tree's. If they changed, it downloads the file again under the new values, at most three times. The simulation gains FakeClient::hold_next_download to force that order.