diff options
author | Andres Morales <anmorales@google.com> | 2014-08-06 04:49:09 +0200 |
---|---|---|
committer | Andres Morales <anmorales@google.com> | 2014-08-06 18:58:55 +0200 |
commit | ee19387905650cab5da7dd97ada5502cd17ac93d (patch) | |
tree | 46f1c336bce478470cf2b45511f7a55c61db5021 /roots.h | |
parent | Auto create parent directories for rename support (diff) | |
download | android_bootable_recovery-ee19387905650cab5da7dd97ada5502cd17ac93d.tar android_bootable_recovery-ee19387905650cab5da7dd97ada5502cd17ac93d.tar.gz android_bootable_recovery-ee19387905650cab5da7dd97ada5502cd17ac93d.tar.bz2 android_bootable_recovery-ee19387905650cab5da7dd97ada5502cd17ac93d.tar.lz android_bootable_recovery-ee19387905650cab5da7dd97ada5502cd17ac93d.tar.xz android_bootable_recovery-ee19387905650cab5da7dd97ada5502cd17ac93d.tar.zst android_bootable_recovery-ee19387905650cab5da7dd97ada5502cd17ac93d.zip |
Diffstat (limited to 'roots.h')
-rw-r--r-- | roots.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -46,6 +46,11 @@ int format_volume(const char* volume); // mounted (/tmp and /cache) are mounted. Returns 0 on success. int setup_install_mounts(); +// Conditionally wipes the /persistent partition if it's marked +// to wipe. Returns -1 on failure, 1 if the partition was wiped +// and 0 if the partition was not wiped. +int erase_persistent_partition(); + #ifdef __cplusplus } #endif |