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

Function ui_url_from_base

packages/server/src/main.rs:2921–2926  ·  view source on GitHub ↗
(mut url: String, selector: Option<&str>)

Source from the content-addressed store, hash-verified

2919}
2920
2921fn ui_url_from_base(mut url: String, selector: Option<&str>) -> String {
2922 if let Some(selector) = selector.filter(|value| !value.trim().is_empty()) {
2923 url.push_str(&format!("/?device={}", percent_encode(selector.trim())));
2924 }
2925 url
2926}
2927
2928fn expose_to_studio(options: StudioExposeOptions) -> anyhow::Result<()> {
2929 let stream_quality_profile = studio_stream_quality_profile(

Callers 3

push_ui_addressFunction · 0.85
run_default_serviceFunction · 0.85

Calls 1

is_emptyMethod · 0.80

Tested by

no test coverage detected