diff options
author | Edward Thomson <ethomson@edwardthomson.com> | 2022-12-03 14:33:11 +0000 |
---|---|---|
committer | Edward Thomson <ethomson@edwardthomson.com> | 2022-12-03 20:37:15 +0000 |
commit | 1a8c692751e2a0a56b6ede70bf8eb2c34f488b39 (patch) | |
tree | 0da3d80ac83731cf2cc229371e18dc23d6d6f8b8 /tests/clar/clar_libgit2.h | |
parent | 3b676c8d889ec4554fc0b66362a6a37a5e04e529 (diff) | |
download | libgit2-ethomson/objectformat.tar.gz |
tests: helpers for getting ints from configurationethomson/objectformat
Diffstat (limited to 'tests/clar/clar_libgit2.h')
-rw-r--r-- | tests/clar/clar_libgit2.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/clar/clar_libgit2.h b/tests/clar/clar_libgit2.h index d2d9da0aa..a002a6d14 100644 --- a/tests/clar/clar_libgit2.h +++ b/tests/clar/clar_libgit2.h @@ -231,6 +231,9 @@ void cl_repo_commit_from_index( void cl_repo_set_bool(git_repository *repo, const char *cfg, int value); int cl_repo_get_bool(git_repository *repo, const char *cfg); +void cl_repo_set_int(git_repository *repo, const char *cfg, int value); +int cl_repo_get_int(git_repository *repo, const char *cfg); + void cl_repo_set_string(git_repository *repo, const char *cfg, const char *value); /* set up a fake "home" directory and set libgit2 GLOBAL search path. |