MCPcopy Create free account
hub / github.com/play-co/devkit / cleanURL

Function cleanURL

src/install/cache.js:211–214  ·  view source on GitHub ↗
(url)

Source from the content-addressed store, hash-verified

209 };
210
211 function cleanURL(url) {
212 trace('cleanURL', url);
213 return url.split('#', 1)[0].replace(/(?:\.git)?\/?$/, '');
214 }
215
216 this._get = function (nameOrURL) {
217 // ignore versions and trailing slashes for matching against URLs

Callers 1

cache.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…