aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/dev-cmd
diff options
context:
space:
mode:
authorXu Cheng2015-12-30 16:27:15 +0800
committerXu Cheng2015-12-30 16:27:15 +0800
commit24224dc8968e00fb48f2721ab480492da0668fd2 (patch)
tree93b584378ada6881db9d1cdf962dbbec6dc018a5 /Library/Homebrew/dev-cmd
parent482481d24c7d66cdc2a6fdfb9933cf6fb7b429c9 (diff)
downloadbrew-24224dc8968e00fb48f2721ab480492da0668fd2.tar.bz2
pathname: improve compute_disk_usage
* Avoid parallel assignment. * Use Pathname#size instead of File#size * Use Pathname#directory? instead of File#directory? * Use basename to check `.DS_Store`. Original regex has poor performance, and may match with incorrect file.
Diffstat (limited to 'Library/Homebrew/dev-cmd')
0 files changed, 0 insertions, 0 deletions