MCPcopy Create free account
hub / github.com/angular/angular / composeUrls

Method composeUrls

packages/common/upgrade/src/location_shim.ts:483–487  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

481 }
482
483 private composeUrls() {
484 this.$$url = this.urlCodec.normalize(this.$$path, this.$$search, this.$$hash);
485 this.$$absUrl = this.getServerBase() + this.$$url.slice(1); // remove '/' from front of URL
486 this.updateBrowser = true;
487 }
488
489 /**
490 * Retrieves the full URL representation with all segments encoded according to

Callers 4

$$parseMethod · 0.95
pathMethod · 0.95
searchMethod · 0.95
hashMethod · 0.95

Calls 2

getServerBaseMethod · 0.95
normalizeMethod · 0.65

Tested by

no test coverage detected