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

Method getBaseName

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

Returns the filename without extension

()

Source from the content-addressed store, hash-verified

216 * Returns the filename without extension
217 */
218 public String getBaseName() {
219 return FileUtils.splitFilename(file).basename;
220 }
221
222 public boolean isExtension(String... extensions) {
223 return isExtension(Arrays.asList(extensions));

Callers 1

getPrettyNameMethod · 0.95

Calls 1

splitFilenameMethod · 0.95

Tested by

no test coverage detected