googleapis / googleapis/google-cloud-java

[java-storage] support partial Path uploads

Đang mở
#13,705 2 bình luận 0 reaction 1 người được giao Được @ShreyasSinha nhận Xem trên GitHub
api: storage
Ngôn ngữ chính
Java
Star
2.1k
Fork
1.2k
Merge trung bình
1 ngày 23 giờ
Pull request đã merge (30 ngày)
154

Mô tả

`Storage.createFrom(BlobInfo blobInfo, Path path, BlobWriteOption... options)` allows uploading directly from a file system. It would be useful to be able to upload a range of a file instead of the entire file. This feature would also be useful on `MultiPartUploadClient`, where it would be useful to be able to invoke `uploadPart` on a portion of a file.

Ideally, `Storage.createFrom` would have an overload that took a `Path, offset, size` and `RequestBody.of` would have an overload take took a `Path, offset, size`.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.