(
state: State<'_, AppState>,
app: tauri::AppHandle,
startup_trace: State<'_, DesktopStartupTrace>,
)
| 2003 | |
| 2004 | #[tauri::command] |
| 2005 | pub async fn cleanup_invalid_workspaces( |
| 2006 | state: State<'_, AppState>, |
| 2007 | app: tauri::AppHandle, |
| 2008 | startup_trace: State<'_, DesktopStartupTrace>, |
| 2009 | ) -> Result<usize, String> { |
| 2010 | let trace_started = Instant::now(); |
| 2011 | cleanup_invalid_workspaces_impl( |
| 2012 | &state, |
| 2013 | &app, |
| 2014 | &startup_trace, |
| 2015 | "cleanup_invalid_workspaces", |
| 2016 | Some("cleanup_invalid_workspaces"), |
| 2017 | trace_started, |
| 2018 | ) |
| 2019 | .await |
| 2020 | } |
| 2021 | |
| 2022 | #[tauri::command] |
| 2023 | pub async fn initialize_workspace_startup_state( |
nothing calls this directly
no test coverage detected