#define USE_THE_REPOSITORY_VARIABLE #include "git-compat-util.h" #include "notes-cache.h" #include "object-store-ll.h" #include "pretty.h" #include "repository.h" #include "commit.h" #include "refs.h" #include "strbuf.h" static int notes_cache_match_validity(struct repository *r, const char *ref, const char *validity) { … } void notes_cache_init(struct repository *r, 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 *key_oid, size_t *outsize) { … } int notes_cache_put(struct notes_cache *c, struct object_id *key_oid, const char *data, size_t size) { … }