MCPcopy Index your code
hub / github.com/walterhiggins/ScriptCraft / _canonize

Function _canonize

src/main/js/lib/require.js:97–99  ·  view source on GitHub ↗
(file)

Source from the content-addressed store, hash-verified

95 }
96
97 function _canonize(file) {
98 return '' + file.canonicalPath.replaceAll('\\\\', '/');
99 }
100
101 function readModuleFromDirectory(dir) {
102 // look for a package.json file

Callers 1

_requireFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected