MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / codegraph

Function codegraph

__tests__/owning-package.test.ts:223–229  ·  view source on GitHub ↗
(...args: string[])

Source from the content-addressed store, hash-verified

221 });
222
223 function codegraph(...args: string[]): string {
224 return execFileSync(process.execPath, [BIN, ...args, '--path', dir], {
225 encoding: 'utf-8',
226 env: { ...process.env, CODEGRAPH_NO_DAEMON: '1', NO_COLOR: '1' },
227 stdio: ['ignore', 'pipe', 'pipe'],
228 });
229 }
230
231 describe('codegraph_files', () => {
232 async function listed(args: Record<string, unknown>): Promise<string> {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected