Patrick Venture | a6b4abd | 2019-07-19 10:58:55 -0700 | [diff] [blame] | 1 | #pragma once |
2 | |||||
3 | #include <string> | ||||
4 | #include <vector> | ||||
5 | |||||
6 | namespace ipmi_flash | ||||
7 | { | ||||
8 | |||||
9 | /** | ||||
10 | * Given a directory, return the list of json file paths (full paths). | ||||
11 | * | ||||
12 | * @param[in] directory - the full path to the directory to search. | ||||
13 | * @return list of full paths to json files found in that directory. | ||||
14 | */ | ||||
15 | std::vector<std::string> GetJsonList(const std::string& directory); | ||||
16 | |||||
17 | } // namespace ipmi_flash |