summaryrefslogtreecommitdiffstats
path: root/twrpDU.hpp
diff options
context:
space:
mode:
authorDees Troy <dees_troy@teamw.in>2014-03-13 15:17:17 +0100
committerGerrit Code Review <gerrit2@gerrit>2014-03-13 15:17:17 +0100
commit863ecff6102b2370aeb6a2e07349106c1d6135db (patch)
treefe011b564add6f6dae59e7855a423df2ad211869 /twrpDU.hpp
parentRun TWFunc::Fixup_Time_On_Boot() before OpenRecoveryScript (diff)
parentFix skipping of relative paths and lost+found in twrpDU (diff)
downloadandroid_bootable_recovery-863ecff6102b2370aeb6a2e07349106c1d6135db.tar
android_bootable_recovery-863ecff6102b2370aeb6a2e07349106c1d6135db.tar.gz
android_bootable_recovery-863ecff6102b2370aeb6a2e07349106c1d6135db.tar.bz2
android_bootable_recovery-863ecff6102b2370aeb6a2e07349106c1d6135db.tar.lz
android_bootable_recovery-863ecff6102b2370aeb6a2e07349106c1d6135db.tar.xz
android_bootable_recovery-863ecff6102b2370aeb6a2e07349106c1d6135db.tar.zst
android_bootable_recovery-863ecff6102b2370aeb6a2e07349106c1d6135db.zip
Diffstat (limited to 'twrpDU.hpp')
-rw-r--r--twrpDU.hpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/twrpDU.hpp b/twrpDU.hpp
index dac15f126..91f5039a7 100644
--- a/twrpDU.hpp
+++ b/twrpDU.hpp
@@ -38,9 +38,12 @@ class twrpDU {
public:
twrpDU();
uint64_t Get_Folder_Size(const string& Path); // Gets the folder's size using stat
- void add_absolute_dir(string Path);
- void add_relative_dir(string Path);
- bool check_skip_dirs(string& dir);
+ void add_absolute_dir(const string& Path);
+ void add_relative_dir(const string& Path);
+ bool check_relative_skip_dirs(const string& dir);
+ bool check_absolute_skip_dirs(const string& path);
+ bool check_skip_dirs(const string& parent, const string& dir);
+ bool check_skip_dirs(const string& path);
vector<string> get_absolute_dirs(void);
void clear_relative_dir(string dir);
private: