mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-08-28 10:54:59 +00:00
Unexport Index.RecalculateCaches
This commit is contained in:
parent
1b6846d6e6
commit
13a6542a15
2 changed files with 3 additions and 3 deletions
|
|
@ -462,7 +462,7 @@ func (h *Holder) flushCaches() {
|
|||
// after setting bits to get expected response.
|
||||
func (h *Holder) recalculateCaches() {
|
||||
for _, index := range h.Indexes() {
|
||||
index.RecalculateCaches()
|
||||
index.recalculateCaches()
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
4
index.go
4
index.go
|
|
@ -262,8 +262,8 @@ func (i *Index) Fields() []*Field {
|
|||
return a
|
||||
}
|
||||
|
||||
// RecalculateCaches recalculates caches on every field in the index.
|
||||
func (i *Index) RecalculateCaches() {
|
||||
// recalculateCaches recalculates caches on every field in the index.
|
||||
func (i *Index) recalculateCaches() {
|
||||
for _, field := range i.Fields() {
|
||||
field.recalculateCaches()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue