(path: Union[Path, str])
| 520 | |
| 521 | |
| 522 | def make_dirs_for_file(path: Union[Path, str]) -> None: |
| 523 | if not os.path.isabs(path): |
| 524 | path = Path.cwd() / path |
| 525 | os.makedirs(os.path.dirname(path), exist_ok=True) |
| 526 | |
| 527 | |
| 528 | async def async_writefile(file: Union[str, Path], data: Union[str, bytes]) -> None: |
no outgoing calls
no test coverage detected