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

Function escapeXmlText

src/daemon/runtime-hints.ts:270–277  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

268}
269
270function escapeXmlText(value: string): string {
271 return value
272 .replaceAll('&', '&')
273 .replaceAll('<', '&lt;')
274 .replaceAll('>', '&gt;')
275 .replaceAll('"', '&quot;')
276 .replaceAll("'", '&apos;');
277}
278
279function isAndroidRunAsDeniedOutput(stdout: string, stderr: string): boolean {
280 const output = `${stdout}\n${stderr}`.toLowerCase();

Callers 2

upsertAndroidStringPrefFunction · 0.85
upsertAndroidBooleanPrefFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…