summaryrefslogtreecommitdiff
path: root/tests-clay/clay_libgit2.h
diff options
context:
space:
mode:
authorVicent Martí <tanoku@gmail.com>2012-01-02 10:06:24 +0100
committerVicent Martí <tanoku@gmail.com>2012-01-02 10:06:24 +0100
commit1d415455d9484e99dcaa7f061bc9b172c083dabe (patch)
tree2d50afc6d35a06c6f9b3eb037b129e26b0a045ee /tests-clay/clay_libgit2.h
parent7a704309ae012b8e92eb6103b0d14dd3c22a1cb5 (diff)
downloadlibgit2-1d415455d9484e99dcaa7f061bc9b172c083dabe.tar.gz
clay: Move `file_create` to the helpers file
Diffstat (limited to 'tests-clay/clay_libgit2.h')
-rw-r--r--tests-clay/clay_libgit2.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests-clay/clay_libgit2.h b/tests-clay/clay_libgit2.h
index d0faf9a90..1364eb06b 100644
--- a/tests-clay/clay_libgit2.h
+++ b/tests-clay/clay_libgit2.h
@@ -51,4 +51,7 @@ GIT_INLINE(void) cl_assert_strequal_internal(
#define REP256(STR) REP16(REP16(STR))
#define REP1024(STR) REP4(REP256(STR))
+/* Write the contents of a buffer to disk */
+void cl_git_mkfile(const char *filename, const char *content);
+
#endif