mirror of
https://github.com/rclone/rclone.git
synced 2026-09-14 15:26:30 -04:00
Objects looked up by name used the /folder/itembyname.json endpoint which does not return the file's MD5 hash, so NewObject returned objects with no hash. Read the metadata with /file/info.json (which does return the hash) instead, using itembyname only to find the file id when it isn't known. Copy and Move returned objects with only the id and size filled in, leaving the modtime and hash empty, and SetModTime kept nanosecond precision in memory while the server stores seconds. These made the returned objects differ from a fresh listing of the same objects.