MCPcopy Index your code
hub / github.com/outerbase/studio / z

Function z

public/sqljs/sql-wasm.js:1095–1108  ·  view source on GitHub ↗
(a)

Source from the content-addressed store, hash-verified

1093 return a;
1094 }
1095 function z(a) {
1096 var b = "/" === a.charAt(0),
1097 c = "/" === a.substr(-1);
1098 (a = yb(
1099 a.split("/").filter(function (d) {
1100 return !!d;
1101 }),
1102 !b
1103 ).join("/")) ||
1104 b ||
1105 (a = ".");
1106 a && c && (a += "/");
1107 return (b ? "/" : "") + a;
1108 }
1109 function zb(a) {
1110 var b = /^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/
1111 .exec(a)

Callers 7

fFunction · 0.85
AbFunction · 0.85
WFunction · 0.85
AFunction · 0.85
ScFunction · 0.85
VcFunction · 0.85
initSqlJsFunction · 0.85

Calls 1

ybFunction · 0.85

Tested by

no test coverage detected