MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / isSharedChrome

Function isSharedChrome

src/ui-server/api/steps.ts:1637–1639  ·  view source on GitHub ↗

A component rendered by several distinct parents is chrome.

(cg: CodeGraph, component: Node, memo: Map<string, number>)

Source from the content-addressed store, hash-verified

1635
1636/** A component rendered by several distinct parents is chrome. */
1637function isSharedChrome(cg: CodeGraph, component: Node, memo: Map<string, number>): boolean {
1638 return renderParents(cg, component, memo) >= SHARED_CHROME_MIN;
1639}
1640
1641/**
1642 * What kind of project the picture is of, by what its routes are: endpoints

Callers 1

buildStepsFunction · 0.85

Calls 1

renderParentsFunction · 0.85

Tested by

no test coverage detected