MCPcopy Index your code
hub / github.com/angular/angular-cli / constructUrl

Function constructUrl

packages/angular/ssr/src/utils/url.ts:241–243  ·  view source on GitHub ↗
(pathname: string, search: string, hash: string)

Source from the content-addressed store, hash-verified

239 * @returns The constructed and decoded URL string.
240 */
241export function constructUrl(pathname: string, search: string, hash: string): string {
242 return decodeURIComponent([stripTrailingSlash(pathname), search, hash].join(''));
243}

Callers

nothing calls this directly

Calls 1

stripTrailingSlashFunction · 0.85

Tested by

no test coverage detected