"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
Make SizeSuffix output without `b` suffix for more useful printouts
Nick Craig-Wood772f99fd746d
diff --git a/fs/config.go b/fs/config.goindex 258b57931..b9a960c50 100644--- a/fs/config.go+++ b/fs/config.go@@ -108,7 +108,7 @@ func (x SizeSuffix) String() string {return "0"case x < 1024:scaled = float64(x)- suffix = "b"+ suffix = ""case x < 1024*1024:scaled = float64(x) / 1024suffix = "k"diff --git a/fs/config_test.go b/fs/config_test.goindex a1da2b17d..c676399f3 100644--- a/fs/config_test.go+++ b/fs/config_test.go@@ -12,7 +12,7 @@ func TestSizeSuffixString(t *testing.T) {want string}{{0, "0"},- {102, "102b"},+ {102, "102"},{1024, "1k"},{1024 * 1024, "1M"},{1024 * 1024 * 1024, "1G"},