MCPcopy Index your code
hub / github.com/josdejong/mathjs / getDependenciesFileName

Function getDependenciesFileName

tools/entryGenerator.js:458–464  ·  view source on GitHub ↗
(factoryName)

Source from the content-addressed store, hash-verified

456}
457
458function getDependenciesFileName (factoryName) {
459 if (factoryName.indexOf('create') !== 0) {
460 throw new Error(`Cannot create dependencies name from factoryName "${factoryName}". Should start with "create..."`)
461 }
462
463 return 'dependencies' + factoryName.slice(6)
464}
465
466function findFactoryName (factories, name) {
467 for (const factoryName in factories) {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…