blob: c206721166c4d86471fd0c40c432a1869e7f59bc [file] [log] [blame]
#pragma once
#include <string>
namespace ipmi_flash
{
class FileSystemInterface
{
public:
virtual ~FileSystemInterface() = default;
virtual void remove(const std::string& path) const = 0;
};
class FileSystem : public FileSystemInterface
{
public:
FileSystem() = default;
void remove(const std::string& path) const override;
};
extern FileSystem fileSystemHelper;
} // namespace ipmi_flash