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

Method getMainFilePath

arduino-core/src/processing/app/Sketch.java:160–162  ·  view source on GitHub ↗

Returns path to the main .pde file for this sketch.

()

Source from the content-addressed store, hash-verified

158 * Returns path to the main .pde file for this sketch.
159 */
160 public String getMainFilePath() {
161 return getPrimaryFile().getFile().getAbsolutePath();
162 }
163
164 public SketchFile getFile(int i) {
165 return files.get(i);

Callers 4

storeSketchesMethod · 0.95
handleSave2Method · 0.80
storeSketchLocationMethod · 0.80
storeRecentSketchesMethod · 0.80

Calls 2

getPrimaryFileMethod · 0.95
getFileMethod · 0.45

Tested by

no test coverage detected