xref: /openbmc/phosphor-ipmi-flash/bmc/fs.hpp (revision 2950c258)
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
18