Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NVIDIA/OpenShell
/ grpc_method_from_path
Function
grpc_method_from_path
crates/openshell-server/src/multiplex.rs:723–725 ·
view source on GitHub ↗
(path: &str)
Source
from the content-addressed store, hash-verified
721
}
722
723
fn grpc_method_from_path(path: &str) -> String {
724
path.rsplit(
'/'
).next().unwrap_or(path).to_string()
725
}
726
727
fn grpc_status_from_response<B>(res: &Response<B>) -> String {
728
res.headers()
Callers
1
call
Method · 0.85
Calls
1
next
Method · 0.45
Tested by
no test coverage detected