MCPcopy Create free account
hub / github.com/benfry/processing4 / saveAs

Method saveAs

app/src/processing/app/SketchCode.java:332–338  ·  view source on GitHub ↗

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

(File newFile)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 3

saveFileMethod · 0.95
setLastModifiedMethod · 0.95
setModifiedMethod · 0.95

Tested by

no test coverage detected