summaryrefslogtreecommitdiffstats
path: root/twrp-functions.hpp
diff options
context:
space:
mode:
authorDees_Troy <dees_troy@teamw.in>2013-01-25 22:47:37 +0100
committerDees_Troy <dees_troy@teamw.in>2013-01-28 16:20:03 +0100
commit3ee47bc2ab41e5bf10774fc7f06ae6ca43d7e78e (patch)
treeaecfd88ef42f1e696c788ab2ff1110ac009b3807 /twrp-functions.hpp
parentRemove thread logging from actions.cpp (diff)
downloadandroid_bootable_recovery-3ee47bc2ab41e5bf10774fc7f06ae6ca43d7e78e.tar
android_bootable_recovery-3ee47bc2ab41e5bf10774fc7f06ae6ca43d7e78e.tar.gz
android_bootable_recovery-3ee47bc2ab41e5bf10774fc7f06ae6ca43d7e78e.tar.bz2
android_bootable_recovery-3ee47bc2ab41e5bf10774fc7f06ae6ca43d7e78e.tar.lz
android_bootable_recovery-3ee47bc2ab41e5bf10774fc7f06ae6ca43d7e78e.tar.xz
android_bootable_recovery-3ee47bc2ab41e5bf10774fc7f06ae6ca43d7e78e.tar.zst
android_bootable_recovery-3ee47bc2ab41e5bf10774fc7f06ae6ca43d7e78e.zip
Diffstat (limited to 'twrp-functions.hpp')
-rw-r--r--twrp-functions.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/twrp-functions.hpp b/twrp-functions.hpp
index 7cef37f31..8cd344557 100644
--- a/twrp-functions.hpp
+++ b/twrp-functions.hpp
@@ -39,6 +39,7 @@ public:
static int Exec_Cmd(string cmd, string &result); //execute a command and return the result as a string by reference
static int removeDir(const string path, bool removeParent); //recursively remove a directory
static int copy_file(string src, string dst, int mode); //copy file from src to dst with mode permissions
+ static unsigned int Get_D_Type_From_Stat(string Path); // Returns a dirent dt_type value using stat instead of dirent
private:
static void check_and_fclose(FILE *fp, const char *name);