0
0
Fork 0

Merge pull request #832 from mschoch/rename-size-full

rename SizeFull to Size
This commit is contained in:
Marty Schoch 2018-03-16 12:10:48 -04:00 committed by GitHub
commit 4f33b4be44
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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)
}