MCPcopy Create free account
hub / github.com/Eeive/Evcode-ide / save_all

Method save_all

src/editor/mod.rs:130–137  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

128 }
129
130 pub fn save_all(&mut self) -> Result<()> {
131 for file in &mut self.files {
132 if file.modified && file.path.is_some() {
133 let _ = file.save();
134 }
135 }
136 Ok(())
137 }
138
139 pub fn undo(&mut self) {
140 if let Some(f) = self.files.get_mut(self.current_file) {

Callers 1

runMethod · 0.80

Calls 1

saveMethod · 0.45

Tested by

no test coverage detected