mirror of
https://github.com/narrrl/proton-sdk-rs.git
synced 2026-12-03 20:51:50 +01:00
Every upload into a folder read the folder's link again for the key that hashes its children's names. The key is now cached next to the folder's node key and dropped with it on the folder's events. upload_new_revision_over uploads a revision only over the revision the caller expects. It answers Moved or Trashed, sending nothing, when the file moved on or is in the trash. The check uses the read of the file's link the upload needs for its keys, so a caller that read the file itself first can drop that read. The revision history live test told the superseded revisions apart by creation time. Small revisions can land within one second, so it now tells them apart by size.