0
0
Fork 0

rename SizeFull to Size

This commit is contained in:
Marty Schoch 2018-03-16 11:31:47 -04:00
parent 9a87593fd7
commit 11ff31c2f9
2 changed files with 2 additions and 2 deletions

View File

@ -492,7 +492,7 @@ func (s *Scorch) MemoryUsed() uint64 {
defer func() {
_ = indexSnapshot.Close()
}()
return uint64(indexSnapshot.SizeFull())
return uint64(indexSnapshot.Size())
}
func (s *Scorch) markIneligibleForRemoval(filename string) {

View File

@ -98,7 +98,7 @@ func (i *IndexSnapshot) Close() error {
return i.DecRef()
}
func (i *IndexSnapshot) SizeFull() int {
func (i *IndexSnapshot) Size() int {
return int(i.size)
}