From 0e4bd2a66139adc3b1f52ce5af0c2c55db47d171 Mon Sep 17 00:00:00 2001 From: qianqian Date: Wed, 30 Jun 2021 23:09:07 +0800 Subject: [PATCH] fix typo --- client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client.go b/client.go index aa17a392..65f01572 100644 --- a/client.go +++ b/client.go @@ -1503,7 +1503,7 @@ func (f *File) writeAtConcurrent(b []byte, off int64) (int, error) { return len(b), nil } -// WriteAt writess up to len(b) byte to the File at a given offset `off`. It returns +// WriteAt writes up to len(b) byte to the File at a given offset `off`. It returns // the number of bytes written and an error, if any. WriteAt follows io.WriterAt semantics, // so the file offset is not altered during the write. func (f *File) WriteAt(b []byte, off int64) (written int, err error) {