| Commit message (Collapse) | Author | Files | Lines |
|
Change-Id: I93c65973679894bb8587da4b38b410d38036b8bd
|
|
All we have to do is check for the case of a symlink as well.
st.st_size contains the length of the path the symlink points to.
Change-Id: I9a7b06ba11b5866e04599b8904fd42acf241abe2
|
|
Rename twrpDU.* to exclude.*
Remove global variable for du and replace with partition specific
variables.
Use separate exclusion lists for backups and wiping.
Clean up some includes
Fix some parenthesis in twrp.cpp that I messed up.
Note: twrpTarMain command line utility compiles but probably does
not work correctly yet due to not properly setting part_settings
Change-Id: Idec9c3e6a8782ba53f3420fa79ba33394f4f85fb
|
|
This is similar to https://gerrit.omnirom.org/#/c/14014
A lot of the features built in the older patch set have been split
out into separate patches, most of which have already been merged.
The remaining functionality here should all be directly related to
language selection and loading. We always load English as a base
before loading other languages over the top of the base. The idea
is that if another language is missing a translation, then we will
still display the English.
Maybe still to do: read the /cache/recovery/last_locale file and
load a language based on that. For me, this file contains just:
en_US
We probably won't bother with region specific translations so we
would have to look at either trimming off the _US or using some
other method like perhaps a symlink or a combination of the two.
Thanks to _that for twmsg.cpp class
Change-Id: I9647a22e47883a3ddd2de1da51f64aab7c328f74
|
|
Change-Id: Ia3007fbced9ce3bc94efdb3dacc582a5e68a49a4
|
|
Change-Id: Icfd4af21b9eeade68956e44ae89bae12398920df
|
|
* Remove unused parent variable from twruDU constructor
* Replace manual checks for /data/media with DU's check_skip_dirs()
function
* Remove check_skip_dirs(A,B) function which duplicates the
functionality of check_skip_dirs(A)
* Remove redundant trailing slash removal from
check_absolute_skip_dirs(); this function is only accessed through
check_skip_dirs()
Change-Id: Icfe8d71de36e33db6749fc5896dd3eafbcf7c9a4
|
|
/data/*/media directories are mistakenly being excluded from the size
calculation. Change to absolute dir exclude so that only /data/media is
excluded.
Change-Id: I6e97604d44e6ea2bdf7dfd8c68a2f90ba6d44415
|
|
Change-Id: I3c686c7c3a171f130d299fae586dc811cad0d3a9
|
|
Change-Id: Ib79029fd6237502338b041a6bc2f9e539536d6ad
Signed-off-by: Vojtech Bocek <vbocek@gmail.com>
|
|
Change-Id: Ib62af6ad8596aa18bf48cb750e2ecf442dadc627
|
|
Moved Get_Folder_Size to this new class.
Change-Id: If0a0220f900eb109581f2eeaf7b76e3f7d6886f1
|