Create a function that traverses a directory tree. #2

Closed
opened 2018-12-05 21:43:44 +01:00 by Lerking · 1 comment
Lerking commented 2018-12-05 21:43:44 +01:00 (Migrated from github.com)
  • The file count function must take a source directory (i.e. usr/source). It should populate a list with filenames as well as update a file counter. The function should traverse the source directory and for every file that ends with '.h' call a read function with the true path of the source file.
  • The folder count function must take a source directory (i.e. usr/source). It should populate a list with foldernames as well as update a folder counter.
- [x] The file count function must take a source directory (i.e. usr/source). It should populate a list with filenames as well as update a file counter. The function should traverse the source directory and for every file that ends with '.h' call a read function with the true path of the source file. - [x] The folder count function must take a source directory (i.e. usr/source). It should populate a list with foldernames as well as update a folder counter.
Lerking commented 2018-12-11 21:00:51 +01:00 (Migrated from github.com)

Traverse functions added.

Traverse functions added.
Sign in to join this conversation.