Defined in omni/extras/FileSystemHelpers.h

inline std::vector<std::string> omni::extras::getSubfolders(const std::vector<std::string> &folders)

Helper function to gather all sub-folders within an array of sub-folders.


This is not recursive; it only goes one level deeper beyond the given collection of folders.


folders – a std::vector of folders. This vector is walked and getSubfolders() is called on each entry. Each entry in the vector will be prefixed with the entry from folders that contained it.


a std::vector of sub-folders comprised of all of the sub-folders of the folders given in folders