Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/GoEdgeLab/EdgeNode
/ CleanAll
Method
CleanAll
internal/caches/list_interface.go:37–37 ·
view source on GitHub ↗
CleanAll 清除所有缓存
()
Source
from the content-addressed store, hash-verified
35
36
// CleanAll 清除所有缓存
37
CleanAll() error
38
39
// Stat 统计
40
Stat(check
func
(hash string) bool) (*Stat, error)
Callers
9
TestMemoryList_CleanAll
Function · 0.65
TestMemoryList_GC
Function · 0.65
CleanAll
Method · 0.65
TestKVFileList_CleanAll
Function · 0.65
TestFileList_CleanAll
Function · 0.65
TestMemoryStorage_CleanAll
Function · 0.65
TestFileStorage_CleanAll
Function · 0.65
CleanAll
Method · 0.65
handleCleanCache
Method · 0.65
Implementers
3
MemoryList
internal/caches/list_memory.go
KVFileList
internal/caches/list_file_kv.go
SQLiteFileList
internal/caches/list_file_sqlite.go
Calls
no outgoing calls
Tested by
6
TestMemoryList_CleanAll
Function · 0.52
TestMemoryList_GC
Function · 0.52
TestKVFileList_CleanAll
Function · 0.52
TestFileList_CleanAll
Function · 0.52
TestMemoryStorage_CleanAll
Function · 0.52
TestFileStorage_CleanAll
Function · 0.52