MCPcopy Index your code
hub / github.com/getsentry/XcodeBuildMCP / redactPathLikeData

Function redactPathLikeData

src/utils/sentry.ts:44–46  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

42}
43
44function redactPathLikeData(value: string): string {
45 return value.replace(USER_HOME_PATH_PATTERN, '/Users/<redacted>');
46}
47function isRecord(value: unknown): value is Record<string, unknown> {
48 return typeof value === 'object' && value !== null && !Array.isArray(value);
49}

Callers 3

redactUnknownFunction · 0.85
redactEventFunction · 0.85
redactLogFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected