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

Method listFiles

arduino-core/src/processing/app/helpers/FileUtils.java:284–287  ·  view source on GitHub ↗

Recursively find all files in a folder with the specified extension. Excludes hidden files and folders and source control folders. @param folder Folder to look into @param recursive true will recursively find all files in sub-folders @param extensions A list of file extensions to search

(File folder, boolean recursive,
                                     String... extensions)

Source from the content-addressed store, hash-verified

282 * @return
283 */
284 public static List<File> listFiles(File folder, boolean recursive,
285 String... extensions) {
286 return listFiles(folder, recursive, Arrays.asList(extensions));
287 }
288
289 public static List<File> listFiles(File folder, boolean recursive,
290 List<String> extensions) {

Callers 15

listSketchFilesMethod · 0.95
recursiveSCPMethod · 0.80
get3rdPartyIndexFilesMethod · 0.80
syncBuiltInHardwareMethod · 0.80
syncLocalPackagesMethod · 0.80
loadTargetPackageMethod · 0.80
getUnixBasedPortNamesMethod · 0.80
createMethod · 0.80
copyMethod · 0.80

Calls 5

isSCCSOrHiddenFileMethod · 0.95
hasExtensionMethod · 0.95
existsMethod · 0.45
isEmptyMethod · 0.45
addMethod · 0.45