MCPcopy Create free account
hub / github.com/Zoo-Code-Org/Zoo-Code / setActiveProfile

Method setActiveProfile

src/extension/api.ts:581–590  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

579 }
580
581 public async setActiveProfile(name: string): Promise<string | undefined> {
582 const entry = this.getProfileEntry(name)
583
584 if (!entry) {
585 throw new Error(`Profile with name "${name}" does not exist`)
586 }
587
588 await this.sidebarProvider.activateProviderProfile({ name })
589 return this.getActiveProfile()
590 }
591}

Callers

nothing calls this directly

Calls 3

getProfileEntryMethod · 0.95
getActiveProfileMethod · 0.95

Tested by

no test coverage detected