MCPcopy Create free account
hub / github.com/LPC4/Full-Stack / focus_vm_output_tab

Method focus_vm_output_tab

src/app/mod.rs:440–448  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

438 pub(super) fn close_active_path(&mut self) {
439 if let Some(path) = self.active_path() {
440 self.close_path(&path);
441 }
442 }
443
444 fn block_open_folder_for_dirty_documents(&mut self) -> bool {
445 if self.workspace.dirty_documents().next().is_none() {
446 return false;
447 }
448 self.status_message =
449 Some("save or close unsaved files before opening a folder".to_owned());
450 true
451 }

Callers 1

ide_top_barMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected