blob: c67ef55bf95a2bb95aec6191dbb3aa16c4cd80ea [file] [log] [blame] [edit]
#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;
};
} // namespace ipmi_flash