mirror of
https://git.zx2c4.com/cgit
synced 2025-08-03 17:44:27 +02:00
cache.h: export hash_str()
This function will be reused to cache the result of tree scanning. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
This commit is contained in:
parent
6f3bf1ae1e
commit
523a2161b9
1 changed files with 2 additions and 0 deletions
2
cache.h
2
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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue