Create a TWRP Disk Usage Class to retain state about a directory and whether we should skip it in other classes like twrpTar.
Moved Get_Folder_Size to this new class.
Change-Id: If0a0220f900eb109581f2eeaf7b76e3f7d6886f1
diff --git a/partitions.hpp b/partitions.hpp
index 62f95d0..287da62 100644
--- a/partitions.hpp
+++ b/partitions.hpp
@@ -21,6 +21,7 @@
#include <vector>
#include <string>
+#include "twrpDU.hpp"
#define MAX_FSTAB_LINE_LENGTH 2048
@@ -162,7 +163,7 @@
class TWPartitionManager
{
public:
- TWPartitionManager() {}
+ TWPartitionManager(); // Constructor for TWRPartionManager
~TWPartitionManager() {}
public: