Skip to content

Commit e381456

Browse files
committed
fix java doc & ensure builds
Signed-off-by: vaidikcode <vaidikbhardwaj00@gmail.com>
1 parent afbd568 commit e381456

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/main/java/land/oras/Registry.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -657,10 +657,12 @@ public Registry build() {
657657
}
658658

659659
/**
660-
* Push a blob using input stream so to abpid loading the whole blob in memory
660+
* Push a blob using input stream to avoid loading the whole blob in memory
661661
* @param containerRef the container ref
662662
* @param input the input stream
663663
* @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
664666
*/
665667
public Layer pushBlobStream(ContainerRef containerRef, InputStream input, long size) {
666668
Path tempFile = null;

0 commit comments

Comments
 (0)