Google Drive etag File

How does the file share stage work? It seems to change even if no changes have been made to the file.

Is there a way to get a checksum or something that only changes when the file is updated?

Thanks for your help!

+2
source share
1 answer

The etag of the file also changes when the metadata of the file changes. If you want to track changes to the contents of a file, you can use the md5Checksum field md5Checksum :

https://developers.google.com/drive/v2/reference/files#resource

+4
source

Source: https://habr.com/ru/post/1496552/


All Articles