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

Function reference_with_dot_passes_through

crates/openshell-core/src/image.rs:104–108  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

102
103 #[test]
104 fn reference_with_dot_passes_through() {
105 let _guard = env_lock().lock().unwrap();
106 let input = "registry.example.com";
107 assert_eq!(resolve_community_image(input), input);
108 }
109
110 #[test]
111 fn trailing_slash_in_env_is_trimmed() {

Callers

nothing calls this directly

Calls 1

env_lockFunction · 0.85

Tested by

no test coverage detected