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

Method isPrimary

arduino-core/src/processing/app/SketchFile.java:119–121  ·  view source on GitHub ↗

Is this the primary file in the sketch?

()

Source from the content-addressed store, hash-verified

117 * Is this the primary file in the sketch?
118 */
119 public boolean isPrimary() {
120 return primary;
121 }
122
123 protected boolean fileExists() {
124 return file.exists();

Callers 6

updateTitleMethod · 0.95
handleRenameCodeMethod · 0.95
nameCodeMethod · 0.95
handleDeleteCodeMethod · 0.95
compareMethod · 0.80
saveAsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected