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

Function write

__tests__/cpp-free-function-overloads.test.ts:29–32  ·  view source on GitHub ↗
(file: string, text: string)

Source from the content-addressed store, hash-verified

27 beforeAll(async () => {
28 root = fs.mkdtempSync(path.join(os.tmpdir(), 'codegraph-cpp-free-overloads-'));
29 const write = (file: string, text: string): void => {
30 fs.mkdirSync(path.dirname(path.join(root, 'src', file)), { recursive: true });
31 fs.writeFileSync(path.join(root, 'src', file), text);
32 };
33 // protobuf's varint_shuffle_test.cc: each call sits nearer the overload it doesn't take.
34 write('varint.cc', lines(
35 'namespace pb {',

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected