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

Function normalizeDaemonRef

src/daemon/selector-recording.ts:118–120  ·  view source on GitHub ↗
(ref: string)

Source from the content-addressed store, hash-verified

116}
117
118function normalizeDaemonRef(ref: string): string {
119 return ref.startsWith('@') ? ref.slice(1) : ref;
120}

Callers 2

buildGetRecordResultFunction · 0.85
toDaemonGetDataFunction · 0.85

Calls 1

startsWithMethod · 0.80

Tested by

no test coverage detected