MCPcopy
hub / github.com/arduino/Arduino / save

Method save

arduino-core/src/processing/app/SketchFile.java:283–289  ·  view source on GitHub ↗

Save this piece of code, regardless of whether the modified flag is set or not.

()

Source from the content-addressed store, hash-verified

281 * flag is set or not.
282 */
283 public void save() throws IOException {
284 if (storage == null)
285 return; /* Nothing to do */
286
287 BaseNoGui.saveFile(storage.getText(), file);
288 storage.clearModified();
289 }
290
291
292 /**

Callers

nothing calls this directly

Calls 3

saveFileMethod · 0.95
getTextMethod · 0.65
clearModifiedMethod · 0.65

Tested by

no test coverage detected