MCPcopy Create free account
hub / github.com/anomalyco/opencode / wslServerIdForDistro

Function wslServerIdForDistro

packages/desktop/src/main/wsl/servers.ts:57–59  ·  view source on GitHub ↗
(distro: string)

Source from the content-addressed store, hash-verified

55export type WslServersController = ReturnType<typeof createWslServersController>
56
57export function wslServerIdForDistro(distro: string) {
58 return `wsl:${distro}`
59}
60
61export function createWslServersController(
62 appVersion: string,

Callers 2

addServerFunction · 0.85
normalizePersistedServerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected