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:
Matt Mower
2014-03-20 18:05:41 -05:00
parent f77994d270
commit bb81e5d02d
4 changed files with 2 additions and 29 deletions
+1 -5
View File
@@ -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) {