MCPcopy Create free account
hub / github.com/Fibi66/FeiControl / parseServiceList

Function parseServiceList

src/app/api/system/services/route.ts:12–16  ·  view source on GitHub ↗
(value?: string)

Source from the content-addressed store, hash-verified

10const execAsync = promisify(exec);
11
12function parseServiceList(value?: string): string[] {
13 return value
14 ? value.split(",").map((entry) => entry.trim()).filter(Boolean)
15 : [];
16}
17
18// Service action allowlists are environment-driven in the public build.
19// Fall back to the matching watched-service env vars for backward compatibility.

Callers 1

route.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected