()
| 149 | } |
| 150 | |
| 151 | func (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 | |
| 161 | func (p *SkillPersistence) ExportSnapshot() map[string]any { |
| 162 | if p == nil { |
no outgoing calls
no test coverage detected