Skip to content

Commit 2f844cb

Browse files
committed
style
1 parent ec0850b commit 2f844cb

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

runtime/auth/aws-signing-common/common/src/aws/smithy/kotlin/runtime/auth/awssigning/AwsChunkedSource.kt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,10 @@ public class AwsChunkedSource(
4040
trailingHeaders,
4141
)
4242

43-
// The number of bytes transferred without chunk metadata
43+
/**
44+
* Tracks the content bytes transferred, excluding chunk metadata.
45+
* This public property can be accessed to monitor file transfer progress.
46+
*/
4447
public var contentBytesTransferred: Long = 0L
4548

4649
override fun read(sink: SdkBuffer, limit: Long): Long {

runtime/auth/aws-signing-common/common/src/aws/smithy/kotlin/runtime/auth/awssigning/internal/AwsChunkedReader.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ internal class AwsChunkedReader(
7373
internal suspend fun ensureValidChunk(): Boolean {
7474
// check if the current chunk is still valid
7575
if (chunk.size > 0L) {
76-
// // Reset metadata bytes counter as only first read of a chunk contains metadata
76+
// reset metadata bytes counter as only first read of a chunk contains metadata
7777
chunkMetadataBytes = 0L
7878
return true
7979
}

0 commit comments

Comments
 (0)