xref: /openbmc/estoraged/include/erase.hpp (revision 620d1a51)
1 #pragma once
2 #include <string>
3 
4 namespace estoraged
5 {
6 /** @class Erase
7  *  @brief Erase object provides a base class for the specific erase types
8  */
9 class Erase
10 {
11   public:
12     /** @brief creates an erase object
13      *  @param inDevPath the linux path for the block device
14      */
15     Erase(std::string_view inDevPath) : devPath(inDevPath) {}
16 
17   protected:
18     /* The linux path for the block device */
19     std::string devPath;
20 };
21 
22 } // namespace estoraged
23