MCPcopy Index your code
hub / github.com/colbymchenry/codegraph / write

Function write

__tests__/lombok.test.ts:25–29  ·  view source on GitHub ↗
(rel: string, body: string)

Source from the content-addressed store, hash-verified

23 afterEach(() => { fs.rmSync(dir, { recursive: true, force: true }); });
24
25 const write = (rel: string, body: string) => {
26 const p = path.join(dir, rel);
27 fs.mkdirSync(path.dirname(p), { recursive: true });
28 fs.writeFileSync(p, body);
29 };
30
31 type Row = { name: string; kind: string; decorators: string | null; docstring: string | null; signature: string | null };
32 const load = async () => {

Callers 2

lombok.test.tsFile · 0.70
installFatalHandlersFunction · 0.50

Calls 1

joinMethod · 0.80

Tested by

no test coverage detected