1 #pragma once
2 
3 #include <string>
4 
5 namespace ipmi_flash
6 {
7 
8 class FileSystemInterface
9 {
10   public:
11     virtual ~FileSystemInterface() = default;
12 
13     virtual void remove(const std::string& path) const = 0;
14 };
15 
16 class FileSystem : public FileSystemInterface
17 {
18   public:
19     FileSystem() = default;
20 
21     void remove(const std::string& path) const override;
22 };
23 
24 extern FileSystem fileSystemHelper;
25 
26 } // namespace ipmi_flash
27