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

Function readPkg

packages/cli/scripts/check-package.ts:59–61  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

57}
58
59function readPkg(): Record<string, unknown> {
60 return JSON.parse(readFileSync(PKG_PATH, 'utf-8'));
61}
62
63function exec(cmd: string, opts?: { cwd?: string }): { ok: boolean; stdout: string; stderr: string } {
64 try {

Callers 2

phase1_configFunction · 0.85
phase1_pathsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…