summaryrefslogtreecommitdiffstats
path: root/twrpTar.hpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add cancel backup capability.bigbiff2015-01-271-1/+2
| | | | | | | | | | | This will stop the iteration of the partition objects, kill the current twrpTar thread and remove the backup directory. Implement TWAtomicInt class to give us a wrapper that automatically uses mutexes before the read and write to help ensure that the reads and writes will be atomic based on documentation. Change-Id: I645b22bc980a292e9c7202acb24ffd22ebe68c63
* Track backup and restore progressEthan Yonker2014-07-091-2/+8
| | | | | | | | Track backup and restore progress based on the sizes of the files as they are being added to the tar backup file. Update the progress bar based on the sizes of the files. Change-Id: Idf649efa1db3e91830b4b2add86203a3f30042ff
* Remove deprecated tar exclude functionalityMatt Mower2014-03-311-3/+0
| | | | | | | | | 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
* Remove unused functionsEthan Yonker2014-02-121-2/+0
| | | | Change-Id: I3230412e6aad7aab0f2fd034cc7b289cd4cd6a97
* Move DataManager functions out of twrpTar.cppEthan Yonker2014-02-101-0/+3
| | | | Change-Id: I943318afe787ff4ede724fa0bc77ebc6a3ba0c8b
* Refactor twrpTar to use TarListDees Troy2014-02-031-8/+4
| | | | | | | | Eliminate the use of tarDirs and Generate_MultipleArcives in favor of Generate_TarList so that we have one method for backup creation instead of three. Change-Id: I267937b6e40b32d43fbac8b4cca82f7468d4f94c
* Create a TWRP Disk Usage Class to retain state about a directory and whether we should skip it in other classes like twrpTar.bigbiff bigbiff2013-12-191-0/+1
| | | | | | Moved Get_Folder_Size to this new class. Change-Id: If0a0220f900eb109581f2eeaf7b76e3f7d6886f1
* skip checking size on linksbigbiff bigbiff2013-08-281-3/+3
| | | | | | skip google music cache Change-Id: I75d6fd0e17140d12cb2c6d335e8ff73a6f871aa2
* Unify indentation and little clean-up in TWRP filesVojtech Bocek2013-08-241-52/+53
| | | | Signed-off-by: Vojtech Bocek <vbocek@gmail.com>
* Support encrypted backup filesDees_Troy2013-06-221-17/+46
| | | | | | | | | | | | | | | Also includes features merged from: Update twrpTar by kokotas Revised function entryExists(). Added function to get archive's uncompressed size. Added option to exclude item(s) from the archive. Revised forks() http://review.teamw.in/#/c/590/ Change-Id: I01fa2c81643161984eff2625247af75990684bd9
* Add search function to libtarn0d32013-03-181-0/+2
| | | | | | | Function entryExists() can be called in order to check if an entry exists inside an archive. Change-Id: Id3d13d20dfb74a1779dbd8ba6f0ab08c3ca46319
* change libtar to fork instead of pthreadbigbiff bigbiff2013-02-181-6/+4
| | | | | | Conflicts: twrpTar.cpp
* change tar create to pthreadbigbiff bigbiff2013-01-241-14/+23
| | | | Change-Id: I5a33d207ec6683de20da37e6f4f174c67785fc52
* Add libtar to TWRP instead of using busybox tarbigbiff bigbiff2013-01-091-0/+61
Add proper mkdosfs tool Add fuse to TWRP Add experimental exfat-fuse to TWRP Convert all system() functions to use new Exec_Cmd function