MCPcopy Index your code
hub / github.com/angular/angular / _stripIndexHtml

Function _stripIndexHtml

packages/common/upgrade/src/params.ts:237–239  ·  view source on GitHub ↗
(url: string)

Source from the content-addressed store, hash-verified

235}
236
237function _stripIndexHtml(url: string): string {
238 return url.replace(/\/index.html$/, '');
239}
240
241/**
242 * Tries to decode the URI component without throwing an exception.

Callers 1

encodePathMethod · 0.70

Calls 1

replaceMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…