"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files
Go azure-blobazure-blob-storageazure-filesbackblaze-b2cloud-storagedropboxencryptionftpfuse-filesystemgogolanggoogle-cloud-storagegoogle-driveonedriveopenstack-swiftrclones3sftpsyncwebdav
backend/b2: remove unused largeUpload.clearUploadURL()
Lars Lehtonena6a2eec39277
diff --git a/backend/b2/upload.go b/backend/b2/upload.goindex 00eeb843d..d390c340b 100644--- a/backend/b2/upload.go+++ b/backend/b2/upload.go@@ -184,13 +184,6 @@ func (up *largeUpload) returnUploadURL(upload *api.GetUploadPartURLResponse) {up.uploadMu.Unlock()}-// clearUploadURL clears the current UploadURL and the AuthorizationToken-func (up *largeUpload) clearUploadURL() {- up.uploadMu.Lock()- up.uploads = nil- up.uploadMu.Unlock()-}-// Transfer a chunkfunc (up *largeUpload) transferChunk(ctx context.Context, part int64, body []byte) error {err := up.f.pacer.Call(func() (bool, error) {