We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent afbd568 commit e381456Copy full SHA for e381456
src/main/java/land/oras/Registry.java
@@ -657,10 +657,12 @@ public Registry build() {
657
}
658
659
/**
660
- * Push a blob using input stream so to abpid loading the whole blob in memory
+ * Push a blob using input stream to avoid loading the whole blob in memory
661
* @param containerRef the container ref
662
* @param input the input stream
663
* @param size the size of the blob
664
+ * @return The Layer containing the uploaded blob information
665
+ * @throws OrasException if upload fails or digest calculation fails
666
*/
667
public Layer pushBlobStream(ContainerRef containerRef, InputStream input, long size) {
668
Path tempFile = null;
0 commit comments