-
-
Notifications
You must be signed in to change notification settings - Fork 148
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add partialUpdateFileContents method #362
Add partialUpdateFileContents method #362
Conversation
As webdav-client may support it one day. And thus WebDAV-Drive also, when we manage to implement the upload progress over fetch. See: perry-mitchell/webdav-client#362, club-1/webdav-drive#65
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some minor items..
Awesome PR here! Thanks @ArcticLampyrid. The DAV compliance fetcher is very nice and I imagine will come in super useful in the future. Some minor items in the PR, like naming etc. |
@ArcticLampyrid Tests failing due to drop in coverage. Would you mind seeing if there are some lines added in this PR that are not covered by tests? And if so, adding coverage for them? |
The decrease in test coverage is expected. This PR adds |
Ok. Would you mind then dropping the coverage amounts to match the new values? I'll merge after that and once the tests pass. |
Of course, I'd be happy to adjust the coverage amounts to align with the new values. |
Sorry this took so long to move. Merging. |
This pull request adds a new method called
partialUpdateFileContents
to the WebDAVClient class. This method allows for updating a remote file with a partial update, which is useful for making changes to a file without having to download and re-upload the entire file.Moreover, it can be used to implement chunked file uploading.
This will close #303.