blob: 1d706ce53b557b8b7227d2c45b93420fb61e80d1 [file] [log] [blame]
#pragma once
#include <string_view>
namespace estoraged
{
namespace util
{
class Util
{
public:
/** @brief finds the size of the linux block device in bytes
* @param[in] devpath - the name of the linux block device
* @return size of a block device using the devPath
*/
static uint64_t findSizeOfBlockDevice(const std::string& devPath);
};
} // namespace util
} // namespace estoraged