MCPcopy Create free account
hub / github.com/PerroEngine/Perro / set_pending_route_change

Function set_pending_route_change

perro_source/api_modules/perro_web/src/lib.rs:64–68  ·  view source on GitHub ↗
(href: &str)

Source from the content-addressed store, hash-verified

62
63#[cfg(target_arch = "wasm32")]
64fn set_pending_route_change(href: &str) {
65 if let Ok(mut slot) = pending_route_slot().lock() {
66 *slot = Some(normalize_href_impl(href));
67 }
68}
69
70pub fn normalize_href(href: &str) -> String {
71 normalize_href_impl(href)

Callers 2

push_route_implFunction · 0.85
init_router_implFunction · 0.85

Calls 2

pending_route_slotFunction · 0.85
normalize_href_implFunction · 0.85

Tested by

no test coverage detected