MCPcopy Create free account
hub / github.com/MigoXLab/coderio / isComponentGenerated

Function isComponentGenerated

src/utils/code-cache.ts:77–79  ·  view source on GitHub ↗
(cache: CodeCache, nodeId: string)

Source from the content-addressed store, hash-verified

75 * @param nodeId - The unique node ID to check
76 */
77export function isComponentGenerated(cache: CodeCache, nodeId: string): boolean {
78 return cache.generatedComponents.includes(nodeId);
79}
80
81/**
82 * Mark a component as generated

Callers 3

processSingleNodeFunction · 0.90
code-cache.test.tsFile · 0.90
markComponentGeneratedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected