MCPcopy Create free account
hub / github.com/dylan-sutton-chavez/edge-python / retryPending

Function retryPending

runtime/src/prefetch.js:73–78  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

71 else { const ds = pendingBare.get(imp.spec); ds ? ds.push(dir) : pendingBare.set(imp.spec, [dir]); } // a later manifest may declare it
72 };
73 const retryPending = () => {
74 for (const [name, dirs] of [...pendingBare]) {
75 const target = table[name];
76 if (target !== undefined) { for (const dir of dirs) queue.push(joinRel(dir, target)); pendingBare.delete(name); }
77 }
78 };
79
80 // Synthetic root packages.json so the COMPILER resolves bare names at parse time the same way.
81 if (Object.keys(table).length > 0) {

Callers 1

bfsPrefetchFunction · 0.85

Calls 2

joinRelFunction · 0.90
pushMethod · 0.80

Tested by

no test coverage detected