MCPcopy Create free account
hub / github.com/GongShichen/LuminaCode / ClearAll

Method ClearAll

skills/persistence.go:151–159  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

149}
150
151func (p *SkillPersistence) ClearAll() {
152 if p == nil {
153 return
154 }
155 p.mu.Lock()
156 defer p.mu.Unlock()
157 p.records = map[string]map[string]InvokedSkillRecord{}
158 p.order = map[string][]string{}
159}
160
161func (p *SkillPersistence) ExportSnapshot() map[string]any {
162 if p == nil {

Callers 3

ImportSnapshotMethod · 0.95
ResetMethod · 0.80
ShutdownMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected