MCPcopy Create free account
hub / github.com/chhoumann/quickadd / getQuickAddInstance

Function getQuickAddInstance

src/quickAddInstance.ts:30–37  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

28 * is a programming error rather than an expected state.
29 */
30export function getQuickAddInstance(): QuickAdd {
31 if (!instance) {
32 throw new Error(
33 "QuickAdd plugin instance accessed before it was initialised.",
34 );
35 }
36 return instance;
37}

Callers 12

getCommandDisplayNameFunction · 0.90
executeAIAssistantMethod · 0.90
executeOpenFileMethod · 0.90
constructorMethod · 0.90
factoryMethod · 0.90
addFormatInputMethod · 0.90
constructorMethod · 0.90
constructorMethod · 0.90
constructorMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected