From 523a2161b9a21f5fa8526280bb914d7affb185b1 Mon Sep 17 00:00:00 2001 From: Lars Hjemli Date: Wed, 19 Aug 2009 17:43:47 +0200 Subject: cache.h: export hash_str() This function will be reused to cache the result of tree scanning. Signed-off-by: Lars Hjemli --- cache.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cache.h b/cache.h index 66cc41f..ac9276b 100644 --- a/cache.h +++ b/cache.h @@ -32,4 +32,6 @@ extern int cache_ls(const char *path); /* Print a message to stdout */ extern void cache_log(const char *format, ...); +extern unsigned long hash_str(const char *str); + #endif /* CGIT_CACHE_H */ -- cgit v1.2.1