MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / _required_checksum

Function _required_checksum

tasks/scripts/release.py:212–220  ·  view source on GitHub ↗
(
    checksums: dict[str, str],
    filename: str,
    checksum_path: Path,
)

Source from the content-addressed store, hash-verified

210
211
212def _required_checksum(
213 checksums: dict[str, str],
214 filename: str,
215 checksum_path: Path,
216) -> str:
217 try:
218 return checksums[filename]
219 except KeyError as exc:
220 raise ValueError(f"{checksum_path}: missing checksum for {filename}") from exc
221
222
223def _asset_url(release_tag: str, filename: str) -> str:

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected