MCPcopy Create free account
hub / github.com/boringstack-xyz/boringstack / assertBootInvariants

Function assertBootInvariants

apps/api/src/boot/invariants.ts:101–107  ·  view source on GitHub ↗
(env: Env)

Source from the content-addressed store, hash-verified

99 * affected user.
100 */
101export function assertBootInvariants(env: Env): void {
102 const violations = collectBootInvariantViolations(env);
103
104 if (violations.length > 0) {
105 throw new BootInvariantError(violations);
106 }
107}

Callers 2

index.tsFile · 0.90
invariants.test.tsFile · 0.90

Calls 1

Tested by

no test coverage detected