MCPcopy Create free account
hub / github.com/socketstream/socketstream / onlyModuleIndex

Function onlyModuleIndex

lib/client/bundler/index.js:161–163  ·  view source on GitHub ↗
(f)

Source from the content-addressed store, hash-verified

159 return f.substring(0,6) === 'entry.';
160 }
161 function onlyModuleIndex(f) {
162 return f.substring(0,6) === 'index.';
163 }
164 function diskToRequire(rel) {
165 return '/' + rel.replace(/\\/g,'/');
166 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected