Staging
v0.5.1
v0.5.1
Revision 041bc65923e13313ca1b77681c3b2950b5e0a163 authored by Jonathan Nieder on 19 April 2020, 23:28:57 UTC, committed by Jonathan Nieder on 19 April 2020, 23:28:57 UTC
This merges up the security fix from v2.17.5. Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
notes-cache.h
#ifndef NOTES_CACHE_H
#define NOTES_CACHE_H
#include "notes.h"
struct notes_cache {
struct notes_tree tree;
char *validity;
};
void notes_cache_init(struct notes_cache *c, const char *name,
const char *validity);
int notes_cache_write(struct notes_cache *c);
char *notes_cache_get(struct notes_cache *c, struct object_id *oid, size_t
*outsize);
int notes_cache_put(struct notes_cache *c, struct object_id *oid,
const char *data, size_t size);
#endif /* NOTES_CACHE_H */
Computing file changes ...