MCPcopy Create free account
hub / github.com/Crain99/cc-reverse / buildPaths

Function buildPaths

src/core/reverseEngine.js:161–180  ·  view source on GitHub ↗
(basePath)

Source from the content-addressed store, hash-verified

159 written: scriptResult?.written ?? 0,
160 failed: scriptResult?.failed ?? 0,
161 format: scriptResult?.format,
162 extractor: scriptResult?.extractor,
163 };
164 } else {
165 summary.scripts = { total: 0, skipped: true };
166 }
167
168 if (!scriptsOnly) {
169 logger.info('开始处理资源...');
170 await resourceProcessor.processResources();
171 summary.assets = {
172 scenes: resourceProcessor.sceneAssets.length,
173 prefabs: resourceProcessor.prefabs.length,
174 sprites: Object.keys(resourceProcessor.spriteFrames).length,
175 audio: resourceProcessor.audio.length,
176 animations: resourceProcessor.animation.length,
177 copies: resourceProcessor.cacheReadList.length,
178 labelAtlas: (resourceProcessor._labelAtlasCount || 0),
179 };
180 } else {
181 summary.assets = { skipped: true };
182 }
183

Callers 1

detectProjectVersionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected