Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
307
fn 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_source
Function · 0.70
Calls
1
as_ref
Method · 0.45
Tested by
no test coverage detected