MCPcopy Create free account
hub / github.com/GoEdgeLab/EdgeNode / Clean

Method Clean

internal/utils/expires/list.go:109–114  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

107}
108
109func (this *List) Clean() {
110 this.mu.Lock()
111 this.itemsMap = map[uint64]int64{}
112 this.expireMap = map[int64]ItemMap{}
113 this.mu.Unlock()
114}
115
116func (this *List) Count() int {
117 this.mu.RLock()

Callers 5

NewSQLiteIPListFunction · 0.45
doShutdownMethod · 0.45
FormatMethod · 0.45
doPageLookupMethod · 0.45
onReloadMethod · 0.45

Calls 2

LockMethod · 0.45
UnlockMethod · 0.45

Tested by

no test coverage detected