Rename some methods and funcs since we are here
Very probably some of these can be made private.
This commit is contained in:
parent
d1fdba1cbb
commit
e39063e3ec
4 changed files with 12 additions and 12 deletions
|
|
@ -105,7 +105,7 @@ func (it *AllIterator) Close() {
|
|||
}
|
||||
|
||||
func (it *AllIterator) Size() (int64, bool) {
|
||||
size, err := it.ts.GetApproximateSizeForPrefix(it.prefix)
|
||||
size, err := it.ts.SizeOfPrefix(it.prefix)
|
||||
if err == nil {
|
||||
return size, false
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue