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

Function compileDb

__tests__/sync-module-config-change.test.ts:112–113  ·  view source on GitHub ↗
(root: string, dir: string)

Source from the content-addressed store, hash-verified

110};
111
112const compileDb = (root: string, dir: string): string =>
113 JSON.stringify([{ directory: root, file: 'src/a.c', command: `cc -I${dir} -c src/a.c` }]);
114
115const C_BEFORE: Files = {
116 'third/foo.h': 'int third_fn(void);\n',

Callers 2

fullIndexWithDbFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected