MCPcopy Index your code
hub / github.com/ChatLab/ChatLab / delete

Method delete

packages/sync/src/data-source-manager.ts:134–140  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

132 }
133
134 delete(id: string): boolean {
135 const sources = this.loadAll()
136 const filtered = sources.filter((s) => s.id !== id)
137 if (filtered.length === sources.length) return false
138 this.saveAll(filtered)
139 return true
140 }
141
142 // ==================== ImportSession CRUD ====================
143

Callers

nothing calls this directly

Calls 2

loadAllMethod · 0.95
saveAllMethod · 0.95

Tested by

no test coverage detected