MCPcopy Create free account
hub / github.com/pingdotgg/t3code / get

Function get

apps/server/src/sourceControl/SourceControlProviderRegistry.ts:207–208  ·  view source on GitHub ↗
(kind)

Source from the content-addressed store, hash-verified

205 const discoverySpecs = registrations.map((registration) => registration.discovery);
206
207 const get: SourceControlProviderRegistry["Service"]["get"] = (kind) =>
208 Effect.succeed(providers.get(kind) ?? unsupportedProvider(kind));
209
210 const detectProviderContext = Effect.fn("SourceControlProviderRegistry.detectProviderContext")(
211 function* (cwd: string) {

Callers

nothing calls this directly

Calls 2

unsupportedProviderFunction · 0.85
getMethod · 0.80

Tested by

no test coverage detected