| 446 | |
| 447 | |
| 448 | static URI constructRegistryUri(const URI& imageUri, string&& path) |
| 449 | { |
| 450 | const string scheme = imageUri.has_fragment() ? imageUri.fragment() : "https"; |
| 451 | return uri::construct( |
| 452 | scheme, |
| 453 | std::move(path), |
| 454 | imageUri.host(), |
| 455 | (imageUri.has_port() ? Option<int>(imageUri.port()) : None())); |
| 456 | } |
| 457 | |
| 458 | |
| 459 | static URI getRegistryRootUri(const URI& imageUri) |
no test coverage detected