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

Function detail

packages/server/src/svc/systemd.ts:223–226  ·  view source on GitHub ↗
(res: ExecResult)

Source from the content-addressed store, hash-verified

221}
222
223function detail(res: ExecResult): string | undefined {
224 const text = (res.stderr || res.stdout).trim();
225 return text.length > 0 ? text : undefined;
226}

Callers 6

installFunction · 0.70
startFunction · 0.70
stopFunction · 0.70
restartFunction · 0.70
statusFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected