backblaze-b2 icon indicating copy to clipboard operation
backblaze-b2 copied to clipboard

Always fill the File object with all available response data

Open SteppingHat opened this issue 3 years ago • 1 comments

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.

SteppingHat avatar May 29 '22 12:05 SteppingHat

@mhetreramesh / @mlambley Any chance we can review this change?

SteppingHat avatar Jun 01 '22 04:06 SteppingHat

Thanks buddy.

mlambley avatar Oct 10 '22 02:10 mlambley