diff options
| author | Xu Cheng | 2015-12-30 16:27:15 +0800 |
|---|---|---|
| committer | Xu Cheng | 2015-12-30 16:27:15 +0800 |
| commit | 24224dc8968e00fb48f2721ab480492da0668fd2 (patch) | |
| tree | 93b584378ada6881db9d1cdf962dbbec6dc018a5 /Library/Homebrew/dev-cmd | |
| parent | 482481d24c7d66cdc2a6fdfb9933cf6fb7b429c9 (diff) | |
| download | brew-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
