get_args: process /data/cache/command
Change-Id: I744cdc5a72f53fd1224de242e30ff261e6104900
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
Copyright 2013 to 2020 TeamWin
|
||||
Copyright 2013 to 2021 TeamWin
|
||||
This file is part of TWRP/TeamWin Recovery Project.
|
||||
|
||||
TWRP is free software: you can redistribute it and/or modify
|
||||
@@ -1779,6 +1779,14 @@ bool TWPartition::Wipe_AndSec(void) {
|
||||
return true;
|
||||
}
|
||||
|
||||
bool TWPartition::Wipe_Data_Cache(void) {
|
||||
if (!Mount(true))
|
||||
return false;
|
||||
gui_msg(Msg("wiping=Wiping {1}")(Mount_Point + "/cache/"));
|
||||
TWFunc::removeDir(Mount_Point + "/cache/", true);
|
||||
return true;
|
||||
}
|
||||
|
||||
bool TWPartition::Can_Repair() {
|
||||
if (Mount_Read_Only)
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user