diff options
author | nulltoken <emeric.fermas@gmail.com> | 2011-02-25 21:58:25 +0100 |
---|---|---|
committer | Vicent Marti <tanoku@gmail.com> | 2011-03-03 20:23:50 +0200 |
commit | 3b3a10176e6f6c239abad4f835883ee903067180 (patch) | |
tree | a5218aea4a9323743082daac80c5a8cc9b65d727 /tests/test_helpers.h | |
parent | 47d0db78bb1e52925b726450572b17bd7805a196 (diff) | |
download | libgit2-3b3a10176e6f6c239abad4f835883ee903067180.tar.gz |
Added rmdir_recurs(), a test helper function which recursively removes the content of a directory.
Diffstat (limited to 'tests/test_helpers.h')
-rw-r--r-- | tests/test_helpers.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test_helpers.h b/tests/test_helpers.h index 0a9a9e161..c757eb6bc 100644 --- a/tests/test_helpers.h +++ b/tests/test_helpers.h @@ -58,6 +58,7 @@ extern int remove_loose_object(const char *odb_dir, git_object *object); extern int cmp_files(const char *a, const char *b); extern int copy_file(const char *source, const char *dest); +extern int rmdir_recurs(char *directory_path); #endif /* INCLUDE_test_helpers_h__ */ |