1
mirror of https://github.com/rclone/rclone synced 2024-11-26 04:07:22 +01:00

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

This commit is contained in:
albertony 2023-03-25 23:29:05 +01:00
parent 448ae49fa4
commit 62ddc9b7f9

View File

@ -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