Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

vfscache: remove unused code (fixes issue reported by the unused linter)

albertony62ddc9b7f990
diff --git a/vfs/vfscache/item.go b/vfs/vfscache/item.go
index c7943d4af..566e29e32 100644
--- a/vfs/vfscache/item.go
+++ b/vfs/vfscache/item.go
@@ -172,13 +172,6 @@ func (item *Item) inUse() bool {
return item.opens != 0 || item.info.Dirty
}
-// getATime returns the ATime of the item
-func (item *Item) getATime() time.Time {
- item.mu.Lock()
- defer item.mu.Unlock()
- return item.info.ATime
-}
-
// getDiskSize returns the size on disk (approximately) of the item
//
// We return the sizes of the chunks we have fetched, however there is