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

Function isManagedAppLogCommand

src/daemon/app-log-process.ts:47–54  ·  view source on GitHub ↗
(command: string)

Source from the content-addressed store, hash-verified

45}
46
47function isManagedAppLogCommand(command: string): boolean {
48 const normalized = command.toLowerCase().replaceAll('\\', '/');
49 return (
50 normalized.includes('log stream') ||
51 normalized.includes('logcat') ||
52 normalized.includes('devicectl device process launch')
53 );
54}
55
56function shouldTerminateStoredProcess(meta: StoredAppLogProcessMeta): boolean {
57 const currentStartTime = readProcessStartTime(meta.pid);

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected