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

Function compileDb

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

Source from the content-addressed store, hash-verified

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

Callers 2

fullIndexWithDbFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected