commit | 98d6e8f01517080706a03e7e8e4f14a1cb2cefa1 | [log] [tgz] |
---|---|---|
author | Simon Stewart <simons@fb.com> | Wed Oct 09 11:42:33 2013 -0700 |
committer | Michael Bolin <mbolin@fb.com> | Fri Oct 11 11:24:24 2013 -0700 |
tree | 2cc2c294c631ece09ce2d32b780133a4e368a7a6 | |
parent | 7a32577c3b7b9b082c3edbc63721eacc2f57feab [diff] |
Clean up temp files if there is no cache result. Summary: We create a temp file to uncache files to. However, if we miss the cache entirely, there is no hit in the cache at all, we leave a zero-length file in the temp directory. Let's clean that up to avoid cluttering the disk. Test Plan: buck test --all Manually inspect the tmp dir for zero-length zip files
Buck is an Android build tool. To see what Buck can do for you, check out the documentation at http://facebook.github.io/buck/.
To build Buck, run the following:
git clone git@github.com:facebook/buck.git cd buck ant ./bin/buck --help
Apache License 2.0