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

Function write

__tests__/cpp-pimpl-member-chains.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-pimpl-'));
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 write('include/table.h', lines(
30 '#include <memory>',
31 'namespace ns {',

Callers 1

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected