diff options
| author | Stefan Majewsky <majewsky@gmx.net> | 2026-04-19 00:57:57 +0200 |
|---|---|---|
| committer | Stefan Majewsky <majewsky@gmx.net> | 2026-04-19 01:01:52 +0200 |
| commit | 60140d3f5ebb22ef30d7f1b82a220c620e031963 (patch) | |
| tree | 5c5a088d4fa087375d2bd61e6ad75cdbe8070b3d /largeobject.go | |
| parent | 587ac99d26a026c4441ce224f52105d2dbd3751b (diff) | |
| download | go-schwift-60140d3f5ebb22ef30d7f1b82a220c620e031963.tar.gz | |
update golangci-lint config, fix new lints
Diffstat (limited to 'largeobject.go')
| -rw-r--r-- | largeobject.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/largeobject.go b/largeobject.go index 2feac26..648ef46 100644 --- a/largeobject.go +++ b/largeobject.go @@ -712,6 +712,7 @@ type segmentingReader struct { SegmentSizeBytes int64 // must be >0 // TODO: in Schwift 3, change field type to uint64 and clamp values to math.MaxInt64 internally } +// NextSegment returns an io.Reader covering just the next segment. func (sr *segmentingReader) NextSegment() io.Reader { // peek if there is more content in the backing reader buf := make([]byte, 1) |
