Create generic directory traversal method, introduce `buildboxcommon_direntwrapper`, and add support for `chmod`'ing directories.
Description
- RAII wrapper around
dirent.h. - recursively_chmod_directories function in
FileUtils. - A method for generic directory traversal used by
delete_directory,clear_directory,recursively_chmod_directoriesanddirectory_is_empty. - Add support for specifying file mode in
create_directory. - Compiler warning fixes. (Can be moved to a separate PR).
- Add
buildboxcommon_testutils.has a common place to store utilites used across all tests.
TODO
-
Add generic directory traversal function. -
Add tests for recursively_chmod_directories -
Add tests for buildboxcommon_direntwrapper(Sort of already tested with calls toFileUtils.
Edited by Arber X