MCPcopy
hub / github.com/angular/angular / decimalDigest

Function decimalDigest

packages/compiler/src/i18n/digest.ts:35–37  ·  view source on GitHub ↗
(message: i18n.Message)

Source from the content-addressed store, hash-verified

33 * Return the message id or compute it using the XLIFF2/XMB/$localize digest.
34 */
35export function decimalDigest(message: i18n.Message): string {
36 return message.id || computeDecimalDigest(message);
37}
38
39/**
40 * Compute the message id using the XLIFF2/XMB/$localize digest.

Callers 3

digestFunction · 0.90
digestMethod · 0.90
_setMessageIdMethod · 0.90

Calls 1

computeDecimalDigestFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…