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

Method Remove

internal/caches/list_interface.go:28–28  ·  view source on GitHub ↗

Remove 删除内容

(hash string)

Source from the content-addressed store, hash-verified

26
27 // Remove 删除内容
28 Remove(hash string) error
29
30 // Purge 清理过期数据
31 Purge(count int, callback func(hash string) error) (int, error)

Callers 15

TestList_RemoveFunction · 0.65
shiftOpenFilesMethod · 0.65
RemoveAllMethod · 0.65
RemoveAllMethod · 0.65
TestList_PushFunction · 0.65
CheckDiskWritingSpeedFunction · 0.65
RemoveFunction · 0.65
createSymLinksMethod · 0.65
discardMethod · 0.65
TestMemoryList_RemoveFunction · 0.65

Implementers 3

MemoryListinternal/caches/list_memory.go
KVFileListinternal/caches/list_file_kv.go
SQLiteFileListinternal/caches/list_file_sqlite.go

Calls

no outgoing calls

Tested by 11

TestList_RemoveFunction · 0.52
TestList_PushFunction · 0.52
TestMemoryList_RemoveFunction · 0.52
TestKVFileList_RemoveFunction · 0.52
TestFileList_RemoveFunction · 0.52
BenchmarkMap_AddFunction · 0.52
TestExpiration_AddFunction · 0.52
TestIPList_SaveFunction · 0.52