MCPcopy Index your code
hub / github.com/Firstyear/opensuse-proxy-cache / url

Method url

opensuse-proxy-cache/src/cache.rs:276–281  ·  view source on GitHub ↗
(&self, _cls: &Classification, req_path: &Path, context: &Backend)

Source from the content-addressed store, hash-verified

274 }
275
276 fn url(&self, _cls: &Classification, req_path: &Path, context: &Backend) -> Url {
277 let mut url = context.provider.clone();
278 url.set_path(&req_path.to_string_lossy());
279 debug!(?url);
280 url
281 }
282
283 pub fn decision(&self, req_path: &Path, head_req: bool) -> CacheDecision {
284 // let req_path_trim = req_path.replace("//", "/");

Callers 2

login_viewFunction · 0.80
decisionMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected