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

Method encodeHash

packages/common/upgrade/src/params.ts:139–142  ·  view source on GitHub ↗
(hash: string)

Source from the content-addressed store, hash-verified

137
138 // https://github.com/angular/angular.js/blob/864c7f0/src/ng/location.js#L44
139 encodeHash(hash: string) {
140 hash = encodeUriSegment(hash);
141 return hash ? '#' + hash : '';
142 }
143
144 // https://github.com/angular/angular.js/blob/864c7f0/src/ng/location.js#L27
145 decodePath(path: string, html5Mode = true): string {

Callers 1

normalizeMethod · 0.95

Calls 1

encodeUriSegmentFunction · 0.70

Tested by

no test coverage detected