MCPcopy Create free account
hub / github.com/bajrangCoder/setu / toggle_sidebar

Method toggle_sidebar

src/views/main_view.rs:1671–1674  ·  view source on GitHub ↗
(&mut self, cx: &mut Context<Self>)

Source from the content-addressed store, hash-verified

1669 .find('/')
1670 .map(|i| &after_scheme[i..])
1671 .unwrap_or("/")
1672 } else if url.starts_with('/') {
1673 url
1674 } else {
1675 url.find('/').map(|i| &url[i..]).unwrap_or(url)
1676 };
1677

Callers 3

execute_commandMethod · 0.80
renderMethod · 0.80
render_shortcutsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected