summaryrefslogtreecommitdiffstats
path: root/twrpDU.hpp
diff options
context:
space:
mode:
authorVojtech Bocek <vbocek@gmail.com>2014-03-11 22:08:23 +0100
committerVojtech Bocek <vbocek@gmail.com>2014-03-13 14:55:12 +0100
commit05f87d6ccaa2d4666dd97cb1d2eeb88bd4e5306f (patch)
treecc437d7f9e3166215dbbd973486ec6a43a590bab /twrpDU.hpp
parentCheck to ensure that selinux_handle is populated before using (diff)
downloadandroid_bootable_recovery-05f87d6ccaa2d4666dd97cb1d2eeb88bd4e5306f.tar
android_bootable_recovery-05f87d6ccaa2d4666dd97cb1d2eeb88bd4e5306f.tar.gz
android_bootable_recovery-05f87d6ccaa2d4666dd97cb1d2eeb88bd4e5306f.tar.bz2
android_bootable_recovery-05f87d6ccaa2d4666dd97cb1d2eeb88bd4e5306f.tar.lz
android_bootable_recovery-05f87d6ccaa2d4666dd97cb1d2eeb88bd4e5306f.tar.xz
android_bootable_recovery-05f87d6ccaa2d4666dd97cb1d2eeb88bd4e5306f.tar.zst
android_bootable_recovery-05f87d6ccaa2d4666dd97cb1d2eeb88bd4e5306f.zip
Diffstat (limited to '')
-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: