MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / createUnsupportedManager

Function createUnsupportedManager

packages/server/src/svc/service.ts:22–34  ·  view source on GitHub ↗
(platform: string)

Source from the content-addressed store, hash-verified

20
21
22function createUnsupportedManager(platform: string): ServiceManager {
23 const fail = (): never => {
24 throw new ServiceUnsupportedError(platform);
25 };
26 return {
27 install: async () => fail(),
28 uninstall: async () => fail(),
29 start: async () => fail(),
30 stop: async () => fail(),
31 restart: async () => fail(),
32 status: async () => fail(),
33 };
34}

Callers 1

resolveServiceManagerFunction · 0.85

Calls 1

failFunction · 0.70

Tested by

no test coverage detected