mirror of
https://github.com/rclone/rclone.git
synced 2025-08-19 09:52:05 +02:00
doc: fix typos throughout docs and code
This commit is contained in:
committed by
Nick Craig-Wood
parent
5f71d186b2
commit
4aee962233
@@ -19,7 +19,7 @@ var (
|
||||
// ChunkedReader is a reader for a Object with the possibility
|
||||
// of reading the source in chunks of given size
|
||||
//
|
||||
// A initialChunkSize of <= 0 will disable chunked reading.
|
||||
// An initialChunkSize of <= 0 will disable chunked reading.
|
||||
type ChunkedReader struct {
|
||||
ctx context.Context
|
||||
mu sync.Mutex // protects following fields
|
||||
@@ -36,7 +36,7 @@ type ChunkedReader struct {
|
||||
|
||||
// New returns a ChunkedReader for the Object.
|
||||
//
|
||||
// A initialChunkSize of <= 0 will disable chunked reading.
|
||||
// An initialChunkSize of <= 0 will disable chunked reading.
|
||||
// If maxChunkSize is greater than initialChunkSize, the chunk size will be
|
||||
// doubled after each chunk read with a maximun of maxChunkSize.
|
||||
// A Seek or RangeSeek will reset the chunk size to it's initial value
|
||||
|
Reference in New Issue
Block a user