Conversation
|
I don't like this API: if we change
|
|
Implemented |
Why is this not preferred? |
|
@adityaguru149 When working on this PR I guessed that |
|
If I understood it correctly, basically this is for the case that we have established that there is already a version of the file in remote folder and we use it's name or handle. Makes sense. My gripe with such approaches is that it would work well in most cases but might run issues when there are race conditions like say some client deleted the file while another is trying to add a version or when both think they are the first ones to upload the file. Are features like list versions, read/download versions, cleanup versions of a file part of this PR or a separate PR? |
|
@adityaguru149 I never finished researching this, you can finish it in a second PR. |
Calling .upload() on a file overrides it adding a new version.
Missing: