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

Function saveComponentGenerated

src/utils/code-cache.ts:99–102  ·  view source on GitHub ↗
(cache: CodeCache, nodeId: string, workspace: WorkspaceStructure)

Source from the content-addressed store, hash-verified

97 * @param workspace - The workspace structure containing cache file path
98 */
99export function saveComponentGenerated(cache: CodeCache, nodeId: string, workspace: WorkspaceStructure): void {
100 markComponentGenerated(cache, nodeId);
101 saveCodeCache(workspace, cache);
102}
103
104/**
105 * Check if root component has been injected into App.tsx

Callers 2

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

Calls 2

markComponentGeneratedFunction · 0.85
saveCodeCacheFunction · 0.85

Tested by

no test coverage detected