googleapis / googleapis/google-cloud-java
[java-storage] support partial Path uploads
未关闭
api: storage
- 主要语言
- Java
- 星标
- 2.1k
- 派生
- 1.2k
- 平均合并
- 1 天 23 小时
- 30 天内合并 PR
- 154
描述
`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`.
贡献指南
评估
这个 Issue 还没有评估数据。