MCPcopy
hub / github.com/livebud/bud / normalizeSimplePath

Function normalizeSimplePath

package/svelte/compiler.js:21952–21955  ·  view source on GitHub ↗
(input)

Source from the content-addressed store, hash-verified

21950 return href.slice(protocol.length);
21951 }
21952 function normalizeSimplePath(input) {
21953 const { href } = new Url$1(input, "https://foo.com/");
21954 return href.slice("https://foo.com/".length);
21955 }
21956 function normalizePath(input) {
21957 if (!parentRegex.test(input))
21958 return normalizeSimplePath(input);

Callers 2

normalizePathFunction · 0.85
resolveFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected