MCPcopy Create free account
hub / github.com/PaddlePaddle/Paddle / write_lines

Function write_lines

tools/commitlist.py:598–600  ·  view source on GitHub ↗
(path: Path, lines: Iterable[str])

Source from the content-addressed store, hash-verified

596
597
598def write_lines(path: Path, lines: Iterable[str]) -> None:
599 path.parent.mkdir(parents=True, exist_ok=True)
600 path.write_text(''.join(f'{line}\n' for line in lines))
601
602
603def write_category_exports(

Callers 1

mainFunction · 0.85

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected