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

Method getSettingsFile

arduino-core/src/processing/app/BaseNoGui.java:284–286  ·  view source on GitHub ↗

Convenience method to get a File object for the specified filename inside the settings folder. For now, only used by Preferences to get the preferences.txt file. @param filename A file inside the settings folder. @return filename wrapped as a File object inside the settings folder

(String filename)

Source from the content-addressed store, hash-verified

282 * @return filename wrapped as a File object inside the settings folder
283 */
284 static public File getSettingsFile(String filename) {
285 return new File(getSettingsFolder(), filename);
286 }
287
288 static public File getSettingsFolder() {
289 if (getPortableFolder() != null)

Callers 2

initMethod · 0.95
AStyleMethod · 0.95

Calls 1

getSettingsFolderMethod · 0.95

Tested by

no test coverage detected