Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
73
pub fn parse_path(url: &str) -> Option<&str> {
74
url.split(
'?'
).next()
75
}
76
77
#[cfg(test)]
78
mod tests {
Callers
2
router
Method · 0.85
router
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected