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

Function compactRecordedGetRefLabel

src/daemon/selector-recording.ts:97–101  ·  view source on GitHub ↗
(text: string)

Source from the content-addressed store, hash-verified

95}
96
97function compactRecordedGetRefLabel(text: string): string | undefined {
98 const trimmed = text.trim();
99 if (!trimmed || trimmed.length > 80 || /[\r\n]/.test(trimmed)) return undefined;
100 return trimmed;
101}
102
103function getResolvedTarget(
104 result: Record<string, unknown>,

Callers 1

buildGetRecordResultFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected