blob: 1d706ce53b557b8b7227d2c45b93420fb61e80d1 [file] [log] [blame]
John Edward Broadbenta6e3b992022-03-17 14:33:15 -07001#pragma once
2#include <string_view>
3
4namespace estoraged
5{
6namespace util
7{
8
9class Util
10{
11 public:
12 /** @brief finds the size of the linux block device in bytes
13 * @param[in] devpath - the name of the linux block device
14 * @return size of a block device using the devPath
15 */
16 static uint64_t findSizeOfBlockDevice(const std::string& devPath);
17};
18
19} // namespace util
20
21} // namespace estoraged