Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
248
func
(this *DAUManager) Truncate() error {
249
return
this.ipTable.Truncate()
250
}
251
252
func
(this *DAUManager) recover() error {
253
data, err := os.ReadFile(this.cacheFile)
Callers
1
TestDAUManager_Truncate
Function · 0.45
Calls
no outgoing calls
Tested by
1
TestDAUManager_Truncate
Function · 0.36