Function getAllFilesInDir(const std::string&)

Function Documentation

std::vector<std::string> getAllFilesInDir(const std::string &dirPath)

Get the list of all files in given directory and its sub directories.

Parameters

dirPath – Path of directory to be traversed

Returns

vector containing paths of all the files in given directory and its sub directories