returns true iff folderNames contains otherFolderNames
| 29 | |
| 30 | //returns true iff folderNames contains otherFolderNames |
| 31 | bool contains(std::vector<std::string> const& folderNames, std::vector<std::string> const& otherFolderNames) |
| 32 | { |
| 33 | if (folderNames.size() < otherFolderNames.size()) { |
| 34 | return false; |
| 35 | } |
| 36 | for (size_t i = 0; i < otherFolderNames.size(); ++i) { |
| 37 | if (folderNames.at(i) != otherFolderNames.at(i)) { |
| 38 | return false; |
| 39 | } |
| 40 | } |
| 41 | return true; |
| 42 | } |
| 43 | |
| 44 | std::string trimWhitespace(const std::string& input) |
| 45 | { |