MCPcopy Create free account
hub / github.com/arctic-cli/interface / formatKey

Function formatKey

packages/arctic/src/auth/index.ts:85–88  ·  view source on GitHub ↗
(provider: string, connection?: string)

Source from the content-addressed store, hash-verified

83 }
84
85 export function formatKey(provider: string, connection?: string): string {
86 if (!connection) return provider
87 return `${provider}:${connection}`
88 }
89
90 export function formatDisplayName(provider: string, connection?: string): string {
91 if (!connection) return provider

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected