MCPcopy Index your code
hub / github.com/angular/angular / isSsrContentsIntegrity

Function isSsrContentsIntegrity

packages/core/src/hydration/utils.ts:750–756  ·  view source on GitHub ↗
(node: ChildNode | null)

Source from the content-addressed store, hash-verified

748}
749
750function isSsrContentsIntegrity(node: ChildNode | null): boolean {
751 return (
752 !!node &&
753 node.nodeType === Node.COMMENT_NODE &&
754 node.textContent?.trim() === SSR_CONTENT_INTEGRITY_MARKER
755 );
756}
757
758function skipTextNodes(node: ChildNode | null): ChildNode | null {
759 // Ignore whitespace. Before the <body>, we shouldn't find text nodes that aren't whitespace.

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…