(raw: bytes, root: Path)
| 67 | |
| 68 | |
| 69 | def _safe_extract(raw: bytes, root: Path) -> None: |
| 70 | with tarfile.open(fileobj=io.BytesIO(raw), mode="r:*") as tar: |
| 71 | safe_extract_tarfile(tar, root=root) |
| 72 | |
| 73 | |
| 74 | def test_safe_extract_tarfile_preserves_venv_style_symlinks(tmp_path: Path) -> None: |
no test coverage detected