MCPcopy Create free account
hub / github.com/NativeScript/SimDeck / split_path_query

Function split_path_query

packages/server/src/devtools.rs:1153–1158  ·  view source on GitHub ↗
(value: &str)

Source from the content-addressed store, hash-verified

1151}
1152
1153fn split_path_query(value: &str) -> (&str, Option<&str>) {
1154 match value.split_once('?') {
1155 Some((path, query)) => (path, Some(query)),
1156 None => (value, None),
1157 }
1158}
1159
1160fn normalized_device_name(value: &str) -> String {
1161 value

Callers 3

Calls

no outgoing calls

Tested by

no test coverage detected