MCPcopy
hub / github.com/callstack/agent-device / updateDiagnosticsScope

Function updateDiagnosticsScope

src/utils/diagnostics.ts:66–70  ·  view source on GitHub ↗
(options: DiagnosticsScopeOptions)

Source from the content-addressed store, hash-verified

64}
65
66export function updateDiagnosticsScope(options: DiagnosticsScopeOptions): void {
67 const scope = diagnosticsStorage.getStore();
68 if (!scope) return;
69 Object.assign(scope, options);
70}
71
72export function getDiagnosticsMeta(): {
73 diagnosticId?: string;

Callers 2

createExecTraceContextFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected