MCPcopy
hub / github.com/google-labs-code/design.md / check

Function check

packages/cli/scripts/check-package.ts:50–53  ·  view source on GitHub ↗
(label: string, ok: boolean, detail?: string)

Source from the content-addressed store, hash-verified

48}
49
50function check(label: string, ok: boolean, detail?: string) {
51 if (ok) pass(label);
52 else fail(label, detail);
53}
54
55function heading(title: string) {
56 console.log(`\n── ${title} ${'─'.repeat(Math.max(0, 56 - title.length))}`);

Callers 5

phase1_configFunction · 0.85
phase1_pathsFunction · 0.85
phase2Function · 0.85
phase3Function · 0.85
phase4Function · 0.85

Calls 2

passFunction · 0.85
failFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…