MCPcopy Index your code
hub / github.com/fish2018/pansou / hasUpdatedFinalCache

Method hasUpdatedFinalCache

plugin/plugin.go:1119–1123  ·  view source on GitHub ↗

hasUpdatedFinalCache 检查是否已经更新过指定的最终结果缓存

(updateKey string)

Source from the content-addressed store, hash-verified

1117
1118// hasUpdatedFinalCache 检查是否已经更新过指定的最终结果缓存
1119func (p *BaseAsyncPlugin) hasUpdatedFinalCache(updateKey string) bool {
1120 p.finalUpdateMutex.RLock()
1121 defer p.finalUpdateMutex.RUnlock()
1122 return p.finalUpdateTracker[updateKey]
1123}
1124
1125// markFinalCacheUpdated 标记已更新指定的最终结果缓存
1126func (p *BaseAsyncPlugin) markFinalCacheUpdated(updateKey string) {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected