MCPcopy Index your code
hub / github.com/arduino/Arduino / savePath

Method savePath

arduino-core/src/processing/app/legacy/PApplet.java:594–599  ·  view source on GitHub ↗

Returns a path inside the applet folder to save to. Like sketchPath(), but creates any in-between folders so that things save properly. All saveXxxx() functions use the path to the sketch folder, rather than its data folder. Once exported, the data folder will be found inside the jar file of th

(String where)

Source from the content-addressed store, hash-verified

592 * use <TT>saveXxxx("data/blah.dat")</TT>.
593 */
594 public String savePath(String where) {
595 if (where == null) return null;
596 String filename = sketchPath(where);
597 createPath(filename);
598 return filename;
599 }
600
601
602 /**

Callers 1

saveFileMethod · 0.95

Calls 2

sketchPathMethod · 0.95
createPathMethod · 0.95

Tested by

no test coverage detected