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

Method path

packages/common/src/location/location.ts:108–110  ·  view source on GitHub ↗
(includeHash: boolean = false)

Source from the content-addressed store, hash-verified

106 // TODO: vsavkin. Remove the boolean flag and always include hash once the deprecated router is
107 // removed.
108 path(includeHash: boolean = false): string {
109 return this.normalize(this._locationStrategy.path(includeHash));
110 }
111
112 /**
113 * Reports the current state of the location history.

Callers 3

constructorMethod · 0.95
isCurrentPathEqualToMethod · 0.95

Implementers 1

SpyLocationpackages/common/testing/src/location_m

Calls 1

normalizeMethod · 0.95

Tested by

no test coverage detected