googleapis / googleapis/google-cloud-java

[java-storage] support partial Path uploads

Offen
#13,705 2 Kommentare 0 Reaktionen 1 zugewiesene Person Beansprucht von @ShreyasSinha Auf GitHub ansehen
api: storage
Vorherrschende Sprache
Java
Sterne
2.1k
Forks
1.2k
Ø Merge
1 T. 23 Std.
Gemergte PRs (30 T.)
154

Beschreibung

`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`.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.