MCPcopy Create free account
hub / github.com/astercloud/aster / DeleteMemory

Method DeleteMemory

pkg/memory/logic/manager.go:195–197  ·  view source on GitHub ↗

DeleteMemory 删除 Memory

(ctx context.Context, namespace, key string)

Source from the content-addressed store, hash-verified

193
194// DeleteMemory 删除 Memory
195func (m *Manager) DeleteMemory(ctx context.Context, namespace, key string) error {
196 return m.store.Delete(ctx, namespace, key)
197}
198
199// GetStats 获取统计信息
200func (m *Manager) GetStats(ctx context.Context, namespace string) (*MemoryStats, error) {

Callers 1

deleteMethod · 0.45

Calls 1

DeleteMethod · 0.65

Tested by

no test coverage detected