MCPcopy Index your code
hub / github.com/binux/qiandao / stripFile

Function stripFile

web/static/components/angularjs/angular.js:9183–9185  ·  view source on GitHub ↗
(url)

Source from the content-addressed store, hash-verified

9181
9182
9183function stripFile(url) {
9184 return url.substr(0, stripHash(url).lastIndexOf('/') + 1);
9185}
9186
9187/* return the server only (scheme://host:port) */
9188function serverBase(url) {

Callers 3

LocationHtml5UrlFunction · 0.85
LocationHashbangUrlFunction · 0.85

Calls 1

stripHashFunction · 0.85

Tested by

no test coverage detected