MCPcopy Create free account
hub / github.com/apache/fory / write_local_readme

Function write_local_readme

benchmarks/java/benchmark_report.py:293–299  ·  view source on GitHub ↗
(output_dir: Path, section: str)

Source from the content-addressed store, hash-verified

291
292
293def write_local_readme(output_dir: Path, section: str) -> Path:
294 report_path = output_dir / "README.md"
295 report_path.write_text(
296 "# Java Xlang Benchmark Report\n\n" + section, encoding="utf-8"
297 )
298 run_prettier(report_path)
299 return report_path
300
301
302def update_docs_readme(docs_output_dir: Path, section: str) -> Path:

Callers 1

mainFunction · 0.85

Calls 1

run_prettierFunction · 0.85

Tested by

no test coverage detected