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

Method ExistQuick

internal/caches/list_file_kv.go:86–88  ·  view source on GitHub ↗

ExistQuick 快速检查内容是否存在

(hash string)

Source from the content-addressed store, hash-verified

84
85// ExistQuick 快速检查内容是否存在
86func (this *KVFileList) ExistQuick(hash string) (bool, error) {
87 return this.getStore(hash).ExistQuickItem(hash)
88}
89
90// CleanPrefix 清除某个前缀的缓存
91func (this *KVFileList) CleanPrefix(prefix string) error {

Callers 2

ScanGarbageCachesMethod · 0.45

Calls 2

getStoreMethod · 0.95
ExistQuickItemMethod · 0.80

Tested by 1