MCPcopy Index your code
hub / github.com/benfry/processing4 / loadSketchbookFile

Method loadSketchbookFile

app/src/processing/app/ui/Theme.java:109–117  ·  view source on GitHub ↗

Load theme.txt from the user's sketchbook folder. The caller is expected to make sure the file exists.

()

Source from the content-addressed store, hash-verified

107 * The caller is expected to make sure the file exists.
108 */
109 @SuppressWarnings("BooleanMethodIsAlwaysInverted")
110 static public boolean loadSketchbookFile() {
111 File sketchbookTheme = getSketchbookFile();
112 if (sketchbookTheme.exists()) {
113 theme.load(sketchbookTheme);
114 return true;
115 }
116 return false;
117 }
118
119
120 static public void save() {

Callers 1

reloadMethod · 0.95

Calls 2

getSketchbookFileMethod · 0.95
loadMethod · 0.45

Tested by

no test coverage detected