(data: bytes, *, ctx: str)
| 10960 | |
| 10961 | def _write_release_manifest(*, release_root: Path, relpaths: List[str]) -> None: |
| 10962 | lines = [] |
| 10963 | for relpath in relpaths: |
| 10964 | file_path = release_root / relpath |
| 10965 | if not file_path.exists(): |
| 10966 | raise ValueError(f"release manifest relpath is missing after assembly: {file_path}") |
| 10967 | lines.append(f"{_sha256_file(file_path)} {relpath}") |
| 10968 | (release_root / "fluxon_release.sha256").write_text("\n".join(lines) + "\n", encoding="utf-8") |
| 10969 | |
| 10970 |
no test coverage detected