| 37 | static auto CharCast(const std::byte* data) { return reinterpret_cast<const char*>(data); } |
| 38 | |
| 39 | bool DestroyDB(const std::string& path_str) |
| 40 | { |
| 41 | return leveldb::DestroyDB(path_str, {}).ok(); |
| 42 | } |
| 43 | |
| 44 | /** Handle database error by throwing dbwrapper_error exception. |
| 45 | */ |
no outgoing calls
no test coverage detected