rename SizeFull to Size
This commit is contained in:
parent
9a87593fd7
commit
11ff31c2f9
|
@ -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) {
|
||||
|
|
|
@ -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)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue