MCPcopy
hub / github.com/freedomofpress/dangerzone / expected_image_name

Function expected_image_name

dangerzone/container_utils.py:373–375  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

371
372
373def expected_image_name() -> str:
374 image_name_path = get_resource_path("image-name.txt")
375 return image_name_path.read_text().strip("\n")
376
377
378def container_pull(image: str, manifest_digest: str) -> None:

Callers 5

ensure_container_imageFunction · 0.90
list_image_digestsFunction · 0.85
delete_image_digestsFunction · 0.85
get_local_image_digestFunction · 0.85
cli.pyFile · 0.85

Calls 1

get_resource_pathFunction · 0.85

Tested by 1

ensure_container_imageFunction · 0.72