MCPcopy Index your code
hub / github.com/processing/processing / saveAs

Method saveAs

app/src/processing/app/SketchCode.java:334–341  ·  view source on GitHub ↗

Save this file to another location, used by Sketch.saveAs()

(File newFile)

Source from the content-addressed store, hash-verified

332 * Save this file to another location, used by Sketch.saveAs()
333 */
334 public void saveAs(File newFile) throws IOException {
335 Util.saveFile(program, newFile);
336 savedProgram = program;
337 file = newFile;
338 makePrettyName();
339 setLastModified();
340 setModified(false);
341 }
342
343
344 /**

Callers

nothing calls this directly

Calls 4

saveFileMethod · 0.95
makePrettyNameMethod · 0.95
setLastModifiedMethod · 0.95
setModifiedMethod · 0.95

Tested by

no test coverage detected