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

Function getBaseHref

packages/common/test/location/location_spec.ts:228–228  ·  view source on GitHub ↗
(origin: string)

Source from the content-addressed store, hash-verified

226 const route = '/go/to/there';
227 const url = basePath + route;
228 const getBaseHref = (origin: string) => origin + basePath + '/';
229
230 it('in case APP_BASE_HREF starts with http:', () => {
231 const origin = 'http://example.com';

Callers 1

location_spec.tsFile · 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…