Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/git/blob/master/notes-cache.h # git [Ported from github.com/git/git] Sync with Git 2.56.1 Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `master` Branches Tags History `git / notes-cache.h` 22 lines ยท 541 bytes Raw Blame History 1 #ifndef NOTES_CACHE_H 2 #define NOTES_CACHE_H 3 4 #include "notes.h" 5 6 struct repository; 7 8 struct notes_cache { 9 struct notes_tree tree; 10 char *validity; 11 }; 12 13 void notes_cache_init(struct repository *r, struct notes_cache *c, 14 const char *name, const char *validity); 15 int notes_cache_write(struct notes_cache *c); 16 17 char *notes_cache_get(struct notes_cache *c, struct object_id *oid, size_t 18 *outsize); 19 int notes_cache_put(struct notes_cache *c, struct object_id *oid, 20 const char *data, size_t size); 21 22 #endif /* NOTES_CACHE_H */