Added disk resetting

This commit is contained in:
2024-02-17 12:35:33 +01:00
parent 694092e12e
commit 2d1f228ad0
3 changed files with 50 additions and 0 deletions

View File

@@ -43,6 +43,11 @@ Result trim_disk(const char* path);
/// @return The result of the operation.
Result rebase_disk(const char* path, const char* backing_disk);
/// @brief Resets a disk to its original state.
/// @param path The path to the disk to reset.
/// @return The result of the operation.
Result reset_disk(const char* path);
/// @brief Gathers information about a disk.
/// @param path The path to the disk to gather information about.
/// @param out_info The information about the disk.