CFYW3HGZN5O4IHGLUTUDYG7Y5FXDYPV4H2RIUA7R746PSHO7T32AC Some(cursor::Selection::ChangedFile { path, .. }) => {if let Some(path) = path {debug_assert!(repo.changed_files.iter().any(|file| file.path.as_ref() == Some(path)));}el(row([]))
Some(cursor::Selection::ChangedFile { path, ix }) => {let changed_file = repo.changed_files.iter().nth(*ix).unwrap();let path = if let Some(path) = path {path.as_str()} else {"root"};let diff = "todo";el(column([el(text(format!("{path} diff:"))),el(scrollable(text(diff))),]))