mirror of
https://github.com/rclone/rclone.git
synced 2024-11-22 10:23:16 +08:00
vfscache: remove unused code (fixes issue reported by the unused linter)
This commit is contained in:
parent
448ae49fa4
commit
62ddc9b7f9
|
@ -172,13 +172,6 @@ func (item *Item) inUse() bool {
|
||||||
return item.opens != 0 || item.info.Dirty
|
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
|
// getDiskSize returns the size on disk (approximately) of the item
|
||||||
//
|
//
|
||||||
// We return the sizes of the chunks we have fetched, however there is
|
// We return the sizes of the chunks we have fetched, however there is
|
||||||
|
|
Loading…
Reference in New Issue
Block a user