MCPcopy Create free account
hub / github.com/experdot/pointer / getSource

Method getSource

src/renderer/src/features/export/ExportManager.ts:68–70  ·  view source on GitHub ↗

* Get a source plugin by type

(type: SourceType)

Source from the content-addressed store, hash-verified

66 * Get a source plugin by type
67 */
68 getSource<T extends SourceData>(type: SourceType): SourcePlugin<T> | undefined {
69 return this.sources.get(type) as SourcePlugin<T> | undefined
70 }
71
72 /**
73 * Get all registered source plugins

Callers 2

extractContentMethod · 0.95
SidebarFunction · 0.80

Calls 1

getMethod · 0.65

Tested by

no test coverage detected