MCPcopy 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

DeleteMethod · 0.65
removeCacheFileMethod · 0.65
discardMethod · 0.65
DeleteSyncMethod · 0.65
RemoveItemMethod · 0.65
PurgeItemsMethod · 0.65
PurgeLFUItemsMethod · 0.65
TestMemoryStorage_DeleteFunction · 0.65
TestFileStorage_DeleteFunction · 0.65
removeMethod · 0.65
DiscardMethod · 0.65

Implementers 2

FileStorageinternal/caches/storage_file.go
MemoryStorageinternal/caches/storage_memory.go

Calls

no outgoing calls

Tested by 4

TestMemoryStorage_DeleteFunction · 0.52
TestFileStorage_DeleteFunction · 0.52