summaryrefslogtreecommitdiffstats
path: root/bmc/fs.hpp
blob: d54af2a05965af8a6385a4d0a4a090b7ee87cfcb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#pragma once

#include <string>
#include <vector>

namespace ipmi_flash
{

/**
 * Given a directory, return the list of json file paths (full paths).
 *
 * @param[in] directory - the full path to the directory to search.
 * @return list of full paths to json files found in that directory.
 */
std::vector<std::string> GetJsonList(const std::string& directory);

} // namespace ipmi_flash
OpenPOWER on IntegriCloud