diff options
author | Jens Lehmann <Jens.Lehmann@web.de> | 2014-06-19 22:12:23 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-06-20 10:20:42 -0700 |
commit | 0be7d9b73d21443e216454564dd4df8d2a227789 (patch) | |
tree | c6d40d9339f5730593d72ee69768665ff693f439 /unpack-trees.h | |
parent | Third batch for 2.1 (diff) | |
download | tgif-0be7d9b73d21443e216454564dd4df8d2a227789.tar.xz |
test-lib: add test_dir_is_empty()
For the upcoming submodule test framework we often need to assert that an
empty directory exists in the work tree. Add the test_dir_is_empty()
function which asserts that the given argument is an empty directory.
Signed-off-by: Jens Lehmann <Jens.Lehmann@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'unpack-trees.h')
0 files changed, 0 insertions, 0 deletions