Skip to content

Commit 7b4ceb5

Browse files
Revise comment further
1 parent 0db34ab commit 7b4ceb5

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

cache/core/core.go

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -259,10 +259,12 @@ type LookupOptions struct {
259259
// value of 0 means to read to the end of the object.
260260
To uint64
261261

262-
// AlwaysUseRequestedRange indicates the provided range should be used
263-
// even when the cached item is concurrently streamed.
262+
// AlwaysUseRequestedRange forces the provided range to be used during streaming.
264263
//
265-
// By default, if:
264+
// If false, under certain circumstances the entire body will be returned
265+
// instead of just the requested range.
266+
//
267+
// If:
266268
//
267269
// - AlwaysUseRequestedRange is false
268270
// - The size of the cached item's body was not provided by the writer

0 commit comments

Comments
 (0)