MCPcopy Create free account
hub / github.com/getsentry/sentry-react-native / getTapIdentity

Function getTapIdentity

packages/core/src/js/ragetap.ts:131–137  ·  view source on GitHub ↗
(root: TouchedComponentInfo, label?: string)

Source from the content-addressed store, hash-verified

129}
130
131function getTapIdentity(root: TouchedComponentInfo, label?: string): string {
132 const base = `name:${root.name ?? ''}|file:${root.file ?? ''}`;
133 if (label) {
134 return `label:${label}|${base}`;
135 }
136 return base;
137}
138
139/**
140 * Build a human-readable message matching the touch breadcrumb format.

Callers 1

checkMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected