MCPcopy Index your code
hub / github.com/callstack/agent-device / parseSerialAllowlist

Function parseSerialAllowlist

src/utils/device-isolation.ts:12–19  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

10}
11
12export function parseSerialAllowlist(value: string): Set<string> {
13 return new Set(
14 value
15 .split(/[\s,]+/)
16 .map((entry) => entry.trim())
17 .filter(Boolean),
18 );
19}
20
21export function resolveAndroidSerialAllowlist(
22 flagValue: string | undefined,

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…