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

Function resolveDaemonCodeSignature

src/daemon/code-signature.ts:11–15  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

9const RESOLVABLE_EXTENSIONS = ['.ts', '.tsx', '.js', '.jsx', '.mjs', '.cjs'] as const;
10
11export function resolveDaemonCodeSignature(): string {
12 const entryPath = process.argv[1];
13 if (!entryPath) return 'unknown';
14 return computeDaemonCodeSignature(entryPath);
15}
16
17export function computeDaemonCodeSignature(
18 entryPath: string,

Callers 1

startDaemonRuntimeFunction · 0.90

Calls 1

Tested by

no test coverage detected