Remove deprecated tar exclude functionality
twrpDU::check_skip_dirs() handles skipped folders now. Everywhere twrpTar::setexcl() is being used to exclude files eventually calls createTarFork(), which in turn calls Generate_TarList(), which checks check_skip_dirs(). Change-Id: Ibbc4eb2eb89863ccb2a15f5a3b5092fb10fcbcc0
This commit is contained in:
+1
-5
@@ -1618,11 +1618,7 @@ bool TWPartition::Backup_Tar(string backup_folder) {
|
||||
|
||||
DataManager::GetValue(TW_USE_COMPRESSION_VAR, use_compression);
|
||||
tar.use_compression = use_compression;
|
||||
//exclude Google Music Cache
|
||||
vector<string> excludedirs = du.get_absolute_dirs();
|
||||
for (int i = 0; i < excludedirs.size(); ++i) {
|
||||
tar.setexcl(excludedirs.at(i));
|
||||
}
|
||||
|
||||
#ifndef TW_EXCLUDE_ENCRYPTED_BACKUPS
|
||||
DataManager::GetValue("tw_encrypt_backup", use_encryption);
|
||||
if (use_encryption && Can_Encrypt_Backup) {
|
||||
|
||||
Reference in New Issue
Block a user