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

Method Truncate

internal/stats/dau_manager.go:248–250  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

246}
247
248func (this *DAUManager) Truncate() error {
249 return this.ipTable.Truncate()
250}
251
252func (this *DAUManager) recover() error {
253 data, err := os.ReadFile(this.cacheFile)

Callers 1

TestDAUManager_TruncateFunction · 0.45

Calls

no outgoing calls

Tested by 1

TestDAUManager_TruncateFunction · 0.36