backblaze-b2
backblaze-b2 copied to clipboard
Always fill the File object with all available response data
When calling upload() and listFiles(), the resulting File objects that are created doesn't include all of the available data sent back in the Backblaze response. This behaviour is inconsistent with other methods that create File objects from responses (i.e. copy(), getFile() and finishLargeFile()).
This change simply adds the data returned from the response into the already existing properties within the File class.
@mhetreramesh / @mlambley Any chance we can review this change?
Thanks buddy.