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

Method getPrimaryFile

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

Returns a file object for the primary .pde of this sketch.

()

Source from the content-addressed store, hash-verified

151 * Returns a file object for the primary .pde of this sketch.
152 */
153 public SketchFile getPrimaryFile() {
154 return files.get(0);
155 }
156
157 /**
158 * Returns path to the main .pde file for this sketch.

Callers 7

getMainFilePathMethod · 0.95
renameToMethod · 0.95
CompilerMethod · 0.80
buildMethod · 0.80
buildMethod · 0.80
handleOpenMethod · 0.80

Calls 1

getMethod · 0.65

Tested by

no test coverage detected