blob: c67ef55bf95a2bb95aec6191dbb3aa16c4cd80ea [file] [log] [blame]
Patrick Venture9efef5d2019-06-19 08:45:44 -07001#pragma once
2
3#include <string>
4
5namespace ipmi_flash
6{
7
8class FileSystemInterface
9{
10 public:
11 virtual ~FileSystemInterface() = default;
12
13 virtual void remove(const std::string& path) const = 0;
14};
15
16class FileSystem : public FileSystemInterface
17{
18 public:
19 FileSystem() = default;
20
21 void remove(const std::string& path) const override;
22};
23
Patrick Venture9efef5d2019-06-19 08:45:44 -070024} // namespace ipmi_flash