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

Method getContentFile

arduino-core/src/processing/app/BaseNoGui.java:198–205  ·  view source on GitHub ↗
(String name)

Source from the content-addressed store, hash-verified

196 }
197
198 static public File getContentFile(String name) {
199 String appDir = System.getProperty("APP_DIR");
200 if (appDir == null || appDir.length() == 0) {
201 appDir = currentDirectory;
202 }
203 File installationFolder = new File(appDir);
204 return new File(installationFolder, name);
205 }
206
207 static public TargetPlatform getCurrentTargetPlatformFromPackage(String pack) {
208 return getTargetPlatform(pack, PreferencesData.get("target_platform"));

Callers 13

callArduinoBuilderMethod · 0.95
isSignedMethod · 0.95
initMethod · 0.95
PlatformClass · 0.95
BaseNoGuiClass · 0.95
getHardwareFolderMethod · 0.95
initPortableFolderMethod · 0.95
onBoardOrPortChangeMethod · 0.95
getDefaultFileMethod · 0.95
setIconMethod · 0.95
getContentFileMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected