(buffer, **kwargs)
| 32 | |
| 33 | |
| 34 | def clang_format(buffer, **kwargs): |
| 35 | return subprocess.run(f'{clang_format_path} -style=file', |
| 36 | capture_output=True, |
| 37 | shell=True, |
| 38 | check=True, |
| 39 | input=buffer.encode('utf-8'), |
| 40 | cwd=work_dir, |
| 41 | **kwargs).stdout.decode('utf-8') |
| 42 | |
| 43 | |
| 44 | def api_generate(input_path: Path, output_path: Path): |
no test coverage detected