1 Star 0 Fork 0

yanqd0 / git

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
notes-cache.h 541 Bytes
一键复制 编辑 原始数据 按行查看 历史
#ifndef NOTES_CACHE_H
#define NOTES_CACHE_H
#include "notes.h"
struct repository;
struct notes_cache {
struct notes_tree tree;
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 *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 */
1
https://gitee.com/yanqd0/git.git
git@gitee.com:yanqd0/git.git
yanqd0
git
git
master

搜索帮助