1
0
mirror of https://github.com/rclone/rclone.git synced 2025-12-06 00:03:32 +00:00

build: fix lint errors when re-enabling revive exported & package-comments

This commit is contained in:
Nick Craig-Wood
2023-08-29 13:02:34 +01:00
parent feaa20d885
commit e953598987
7 changed files with 21 additions and 15 deletions

View File

@@ -1,3 +1,4 @@
// Package multipart implements generic multipart uploading.
package multipart
import (
@@ -37,7 +38,7 @@ func getPool() *pool.Pool {
return bufferPool
}
// Get a pool.RW using the multipart pool
// NewRW gets a pool.RW using the multipart pool
func NewRW() *pool.RW {
return pool.NewRW(getPool())
}
@@ -50,7 +51,7 @@ type UploadMultipartOptions struct {
LeavePartsOnError bool // if set don't delete parts uploaded so far on error
}
// Do a generic multipart upload from src using f as OpenChunkWriter.
// UploadMultipart does a generic multipart upload from src using f as OpenChunkWriter.
//
// in is read seqentially and chunks from it are uploaded in parallel.
//