diff options
| author | Stefan Majewsky <majewsky@gmx.net> | 2024-08-23 14:20:30 +0200 |
|---|---|---|
| committer | Stefan Majewsky <majewsky@gmx.net> | 2024-08-23 14:20:30 +0200 |
| commit | ba6db874b7914c75dfe8b5116257d669a783dbc5 (patch) | |
| tree | 2bbeb3f150c270516878f8d3a11f4d736a2e42d0 | |
| parent | e70d86bfb46ef73124bca51cc49607d6522005a5 (diff) | |
| download | go-schwift-ba6db874b7914c75dfe8b5116257d669a783dbc5.tar.gz | |
leave a note for what to fix in Schwift 3
| -rw-r--r-- | largeobject.go | 2 |
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 { |
