"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
mockobject: fix SetUnknownSize method to obey parameter passed in
Nick Craig-Wood72dfdd97d8f0
diff --git a/fstest/mockobject/mockobject.go b/fstest/mockobject/mockobject.goindex dad56a634..89f0fab74 100644--- a/fstest/mockobject/mockobject.go+++ b/fstest/mockobject/mockobject.go@@ -119,7 +119,7 @@ func (o *ContentMockObject) SetFs(f fs.Fs) {// SetUnknownSize makes the mock object return -1 for size if truefunc (o *ContentMockObject) SetUnknownSize(unknownSize bool) {- o.unknownSize = true+ o.unknownSize = unknownSize}// Fs returns read only access to the Fs that this object is part of