summaryrefslogtreecommitdiffstats
path: root/partitions.hpp
diff options
context:
space:
mode:
authorbig biff <bigbiff@teamw.in>2016-11-08 00:54:28 +0100
committerGerrit Code Review <gerrit2@gerrit>2016-11-08 00:54:28 +0100
commitbb0da94f40d8fe7779deea78e3ad2c1eeb1c4180 (patch)
treef4f929e0da5f6ee51f7d4a442b6165394f242edd /partitions.hpp
parentFix image flashing: attempt 2 (diff)
parentMD5 verification sanity (diff)
downloadandroid_bootable_recovery-android-7.0.tar
android_bootable_recovery-android-7.0.tar.gz
android_bootable_recovery-android-7.0.tar.bz2
android_bootable_recovery-android-7.0.tar.lz
android_bootable_recovery-android-7.0.tar.xz
android_bootable_recovery-android-7.0.tar.zst
android_bootable_recovery-android-7.0.zip
Diffstat (limited to 'partitions.hpp')
-rw-r--r--partitions.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/partitions.hpp b/partitions.hpp
index e301d9c70..4b9354fd8 100644
--- a/partitions.hpp
+++ b/partitions.hpp
@@ -156,6 +156,7 @@ private:
string Get_Restore_File_System(PartitionSettings *part_settings); // Returns the file system that was in place at the time of the backup
bool Restore_Tar(PartitionSettings *part_settings); // Restore using tar for file systems
bool Restore_Image(PartitionSettings *part_settings); // Restore using dd for images
+ bool Check_Restore_File_MD5(const string& Filename); // Verifies MD5 matches for a file before restoration
bool Get_Size_Via_statfs(bool Display_Error); // Get Partition size, used, and free space using statfs
bool Get_Size_Via_df(bool Display_Error); // Get Partition size, used, and free space using df command
bool Make_Dir(string Path, bool Display_Error); // Creates a directory if it doesn't already exist