![]() ![]() It will do this as many times as necessary until no more sub-directories are encountered. If the function encounters any sub-directories, it will recursively call itself. To do this, we'll create a function that takes a directory path as a parameter and returns an array of file paths as a result. And this includes recursively going through to get any files in sub-directories. The first thing we need to do is get all the files in the directory. Step 1 - Get All the Files in the Directory
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |