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

Method prepareDataFolder

app/src/processing/app/Sketch.java:1632–1637  ·  view source on GitHub ↗

Create the data folder if it does not exist already. As a convenience, it also returns the data folder, since it's likely about to be used.

()

Source from the content-addressed store, hash-verified

1630 * it also returns the data folder, since it's likely about to be used.
1631 */
1632 public File prepareDataFolder() {
1633 if (!dataFolder.exists()) {
1634 dataFolder.mkdirs();
1635 }
1636 return dataFolder;
1637 }
1638
1639
1640 /**

Callers 2

addFileMethod · 0.95
buildMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected