MCPcopy Create free account
hub / github.com/NomicFoundation/hardhat / writeOutput

Function writeOutput

scripts/benchmark/regression.ts:802–805  ·  view source on GitHub ↗
(outputPath: string, entries: BenchmarkEntry[])

Source from the content-addressed store, hash-verified

800}
801
802function writeOutput(outputPath: string, entries: BenchmarkEntry[]): void {
803 mkdirSync(path.dirname(outputPath), { recursive: true });
804 writeFileSync(outputPath, JSON.stringify(entries, null, 2));
805}
806
807if (import.meta.main) {
808 await main();

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected