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

Function createLibrary

src/core/resourceProcessor.js:637–643  ·  view source on GitHub ↗

* 创建库 * @param {string} index 索引 * @param {string} key 键名 * @returns {string} 库 ID

(index, key)

Source from the content-addressed store, hash-verified

635 if (typeof data[i] === 'object' && data[i] !== null) {
636 resolve(data[i], seen);
637 }
638 }
639 },
640
641 decodeUuids(data) {
642 const walk = (obj, seen) => {
643 if (!obj || typeof obj !== 'object') return;
644 if (seen.has(obj)) return;
645 seen.add(obj);
646

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected