arpadboda commented on a change in pull request #640: MINIFICPP-915 - add util
to list all of a directory without callback
URL: https://github.com/apache/nifi-minifi-cpp/pull/640#discussion_r320213974
##########
File path: libminifi/include/utils/file/FileUtils.h
##########
@@ -402,6 +403,16 @@ class FileUtils {
#endif
}
+ static void list_dir_all(std::vector<std::pair<std::string, std::string>>
&fileList, const std::string& dir,
Review comment:
I would prefer that as this is just a wrapper to make usage more simple and
dealing with a return value just makes it more simple.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services