MCPcopy
hub / github.com/CodeboxIDE/codebox / adaptPath

Function adaptPath

client/core/localfs.js:108–112  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

106 * Adapt path
107 */
108 var adaptPath = function(path) {
109 path = base+path;
110 path = path.replace("//", "/");
111 return path;
112 }
113
114 /*
115 * Convert a vfs url in a path

Callers 1

localfs.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected