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

Method get

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

Source from the content-addressed store, hash-verified

89 // ==================== DataSource CRUD ====================
90
91 get(id: string): DataSource | null {
92 return this.loadAll().find((s) => s.id === id) || null
93 }
94
95 add(partial: {
96 name?: string

Callers

nothing calls this directly

Calls 1

loadAllMethod · 0.95

Tested by

no test coverage detected