Merge google docs document thats been modified by other client. (google drive sdk)

£可爱£侵袭症+ 提交于 2019-12-08 04:25:56

问题


Whats the preferred or best procedure to merge a google docs document, thats already been modified by another client through the Google Drive SDK?

In my case there will only be text-changes and no formatting differences.


回答1:


Unfortunately, you will have to handle this conflict yourself. The API does help you, by providing an ETag, which the server uses test whether the file you are updating has been changed in the Google Drive. If it has been changed, the request will fail by default.



来源:https://stackoverflow.com/questions/11309172/merge-google-docs-document-thats-been-modified-by-other-client-google-drive-sd

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!