mirror of
https://github.com/rclone/rclone.git
synced 2025-08-09 13:55:15 +02:00
opendrive: refactor to use existing lib/rest facilities for uploads
This also checks the return of the call to make sure the number of bytes written was as expected.
This commit is contained in:
@ -212,3 +212,7 @@ type permissions struct {
|
||||
FileID string `json:"file_id"`
|
||||
FileIsPublic int64 `json:"file_ispublic"`
|
||||
}
|
||||
|
||||
type uploadFileChunkReply struct {
|
||||
TotalWritten int64 `json:"TotalWritten"`
|
||||
}
|
||||
|
Reference in New Issue
Block a user