MCPcopy Create free account
hub / github.com/AI45Lab/Code / virtual_resolver_normalizes_relative_paths

Function virtual_resolver_normalizes_relative_paths

core/src/workspace/mod.rs:975–979  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

973
974 #[test]
975 fn virtual_resolver_normalizes_relative_paths() {
976 let resolver = VirtualPathResolver;
977 let path = resolver.normalize("./src/../README.md").unwrap();
978 assert_eq!(path.as_str(), "README.md");
979 }
980
981 #[test]
982 fn virtual_resolver_normalizes_backslash_separators() {

Callers

nothing calls this directly

Calls 1

normalizeMethod · 0.45

Tested by

no test coverage detected