aboutsummaryrefslogtreecommitdiff
path: root/largeobject.go
diff options
context:
space:
mode:
Diffstat (limited to 'largeobject.go')
-rw-r--r--largeobject.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/largeobject.go b/largeobject.go
index 2ce63a8..2feac26 100644
--- a/largeobject.go
+++ b/largeobject.go
@@ -709,7 +709,7 @@ func (lo *LargeObject) Append(ctx context.Context, contents io.Reader, segmentSi
type segmentingReader struct {
Reader io.Reader
- SegmentSizeBytes int64 // must be >0
+ SegmentSizeBytes int64 // must be >0 // TODO: in Schwift 3, change field type to uint64 and clamp values to math.MaxInt64 internally
}
func (sr *segmentingReader) NextSegment() io.Reader {