MCPcopy
hub / github.com/CesiumGS/cesium / filePathToModuleId

Function filePathToModuleId

scripts/build.js:248–250  ·  view source on GitHub ↗

@param {string} moduleId

(moduleId)

Source from the content-addressed store, hash-verified

246
247/** @param {string} moduleId */
248function filePathToModuleId(moduleId) {
249 return moduleId.substring(0, moduleId.lastIndexOf(".")).replace(/\\/g, "/");
250}
251
252/** @typedef {'engine'|'widgets'} Workspace */
253

Callers 3

generateDeclarationFunction · 0.85
createIndexJsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…