"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
vfs: Add a missed update of used cache space
Leo Luanc5c56cda02fb
diff --git a/vfs/vfscache/cache.go b/vfs/vfscache/cache.goindex 8faf0e6a7..eb181429a 100644--- a/vfs/vfscache/cache.go+++ b/vfs/vfscache/cache.go@@ -610,6 +610,7 @@ func (c *Cache) clean(removeCleanFiles bool) {if os.IsNotExist(err) {return}+ c.updateUsed()c.mu.Lock()oldItems, oldUsed := len(c.item), fs.SizeSuffix(c.used)c.mu.Unlock()