MCPcopy
hub / github.com/home-assistant/frontend / Digest

Interface Digest

test/fixtures/digest.ts:7–15  ·  view source on GitHub ↗

* Structural checksum for large transform outputs. Snapshotting a 100k-point * result verbatim would create megabyte snapshot files; this digest is small * but still detects any numeric or structural drift, including changes in * floating-point summation order.

Source from the content-addressed store, hash-verified

5 * floating-point summation order.
6 */
7interface Digest {
8 type: string;
9 size?: number;
10 keys?: string[];
11 numberCount?: number;
12 numberSum?: string;
13 first?: unknown;
14 last?: unknown;
15}
16
17const collectNumbers = (
18 value: unknown,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…