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

Method createPath

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

Takes a path and creates any in-between folders if they don't already exist. Useful when trying to save to a subfolder that may not actually exist.

(String path)

Source from the content-addressed store, hash-verified

677 * may not actually exist.
678 */
679 static public void createPath(String path) {
680 createPath(new File(path));
681 }
682
683
684 static public void createPath(File file) {

Callers 3

createWriterMethod · 0.95
savePathMethod · 0.95
createOutputMethod · 0.95

Calls 2

getParentMethod · 0.80
existsMethod · 0.45

Tested by

no test coverage detected