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

Method deleteProfile

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

Source from the content-addressed store, hash-verified

565 }
566
567 public async deleteProfile(name: string): Promise<void> {
568 const entry = this.getProfileEntry(name)
569
570 if (!entry) {
571 throw new Error(`Profile with name "${name}" does not exist`)
572 }
573
574 await this.sidebarProvider.deleteProviderProfile(entry)
575 }
576
577 public getActiveProfile(): string | undefined {
578 return this.getConfiguration().currentApiConfigName

Callers

nothing calls this directly

Calls 2

getProfileEntryMethod · 0.95
deleteProviderProfileMethod · 0.80

Tested by

no test coverage detected