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