MCPcopy Create free account
hub / github.com/Dstack-TEE/dstack / test_parse_image_ref_with_scheme

Function test_parse_image_ref_with_scheme

vmm/src/app/registry.rs:459–463  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

457
458 #[test]
459 fn test_parse_image_ref_with_scheme() {
460 let (reg, repo) = parse_image_ref("https://ghcr.io/dstack-tee/guest-image").unwrap();
461 assert_eq!(reg, "ghcr.io");
462 assert_eq!(repo, "dstack-tee/guest-image");
463 }
464
465 #[test]
466 fn test_parse_www_authenticate() {

Callers

nothing calls this directly

Calls 1

parse_image_refFunction · 0.85

Tested by

no test coverage detected