Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/GoEdgeLab/EdgeNode
/ Delete
Method
Delete
internal/caches/storage_interface.go:23–23 ·
view source on GitHub ↗
Delete 删除某个键值对应的缓存
(key string)
Source
from the content-addressed store, hash-verified
21
22
// Delete 删除某个键值对应的缓存
23
Delete(key string) error
24
25
// Stat 统计缓存
26
Stat() (*Stat, error)
Callers
14
TestFileListHashMap_Delete
Function · 0.65
Delete
Method · 0.65
removeCacheFile
Method · 0.65
discard
Method · 0.65
DeleteSync
Method · 0.65
RemoveItem
Method · 0.65
PurgeItems
Method · 0.65
PurgeLFUItems
Method · 0.65
TestMemoryStorage_Delete
Function · 0.65
TestFileStorage_Delete
Function · 0.65
remove
Method · 0.65
Discard
Method · 0.65
Implementers
2
FileStorage
internal/caches/storage_file.go
MemoryStorage
internal/caches/storage_memory.go
Calls
no outgoing calls
Tested by
4
TestFileListHashMap_Delete
Function · 0.52
TestMemoryStorage_Delete
Function · 0.52
TestFileStorage_Delete
Function · 0.52
TestNewPartialRangesQueue
Function · 0.52