Rev Language Reference


listFiles

Usage

listFiles(String path, Bool allFiles, Bool recursive, Bool includeDirs)

Arguments

path : String (pass by value)
The path in which to list files.
Default : .
allFiles : Bool (pass by value)
Should special files be returned.
Default : FALSE
recursive : Bool (pass by value)
Should we search directories recursively.
Default : FALSE
includeDirs : Bool (pass by value)
Should we re return directory names in recursive search.
Default : FALSE

Return Type

String[]