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

Function write

__tests__/cpp-member-chain-project-calls.test.ts:25–28  ·  view source on GitHub ↗
(file: string, text: string)

Source from the content-addressed store, hash-verified

23 beforeAll(async () => {
24 root = fs.mkdtempSync(path.join(os.tmpdir(), 'codegraph-cpp-member-chain-project-'));
25 const write = (file: string, text: string): void => {
26 fs.mkdirSync(path.dirname(path.join(root, file)), { recursive: true });
27 fs.writeFileSync(path.join(root, file), text);
28 };
29 // Each namesake comes first: a call matched by its bare name lands on it.
30 write('src/types.h', lines(
31 'class ArenaWrappedDBIter {',

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected