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

Function findExistingPath

src/core/reverseEngine.js:196–203  ·  view source on GitHub ↗
(pathArray)

Source from the content-addressed store, hash-verified

194 } catch (err) {
195 logger.error('处理项目文件时出错:', err);
196 throw err;
197 }
198}
199
200/**
201 * 检测Cocos Creator项目版本并返回相应的文件路径
202 * @param {string} sourcePath 源项目路径
203 * @param {string} versionHint 版本提示
204 * @returns {Object}
205 */
206function detectProjectVersion(sourcePath, versionHint) {

Callers 1

detectProjectVersionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected