MCPcopy Create free account
hub / github.com/PerroEngine/Perro / normalize_toml_path

Function normalize_toml_path

perro_source/devtools/perro_cli/src/bench.rs:307–311  ·  view source on GitHub ↗
(path: &Path)

Source from the content-addressed store, hash-verified

305}
306
307fn normalize_toml_path(path: &Path) -> String {
308 let raw = path.to_string_lossy();
309 let stripped = raw.strip_prefix("\\\\?\\").unwrap_or(raw.as_ref());
310 stripped.replace('\\', "/")
311}

Callers 1

bench_harness_sourceFunction · 0.70

Calls 1

as_refMethod · 0.45

Tested by

no test coverage detected