Creates an instance of list files.
the starting path to look for files.
Full absolute paths of all the files found.
the starting path to look for files.
Checks wheather the path received is a file or a subdirectory. If it is a file, the full path is added to the list, else listFiles
is invoked to go down the rabbit hole.
the name of the file or folder found by listFiles
.
the path to the file or folder found by listFiles
.
Inits list files
the full list of files as an Array
Starts indexing the given directory and for each item found calls handleFilePath
.
the path to index.
Lists files recursively starting from a given path.