MCPcopy Create free account
hub / github.com/Firstyear/opensuse-proxy-cache / normalise_path

Function normalise_path

opensuse-proxy-cache/src/main.rs:125–128  ·  view source on GitHub ↗
(req_path: &str)

Source from the content-addressed store, hash-verified

123}
124
125fn normalise_path(req_path: &str) -> PathBuf {
126 // let req_path = format!("/{}", req_path.replace("//", "/"));
127 PathBuf::from(req_path)
128}
129
130#[instrument(skip_all)]
131async fn head_view(

Callers 2

head_viewFunction · 0.85
get_viewFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected