MCPcopy Create free account
hub / github.com/dfinity/orbit / parse_path

Function parse_path

libs/orbit-essentials/src/http.rs:73–75  ·  view source on GitHub ↗
(url: &str)

Source from the content-addressed store, hash-verified

71}
72
73pub fn parse_path(url: &str) -> Option<&str> {
74 url.split('?').next()
75}
76
77#[cfg(test)]
78mod tests {

Callers 2

routerMethod · 0.85
routerMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected