MCPcopy Create free account
hub / github.com/alignoth/alignoth / p

Function p

resources/vega-embed.min.js:95–99  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

93 return !0;
94 }
95 function p(e) {
96 return -1 === e.indexOf("/") && -1 === e.indexOf("~")
97 ? e
98 : e.replace(/~/g, "~0").replace(/\//g, "~1");
99 }
100 function u(e) {
101 return e.replace(/~1/g, "/").replace(/~0/g, "~");
102 }

Callers 1

CFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected