1 Star 0 Fork 0

SnowLeaf / git

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
notes-cache.h 500 Bytes
一键复制 编辑 原始数据 按行查看 历史
Jeff King 提交于 2010-04-01 20:07 . introduce notes-cache interface
#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, unsigned char sha1[20], size_t
*outsize);
int notes_cache_put(struct notes_cache *c, unsigned char sha1[20],
const char *data, size_t size);
#endif /* NOTES_CACHE_H */
1
https://gitee.com/snow.leaf/git.git
git@gitee.com:snow.leaf/git.git
snow.leaf
git
git
master

搜索帮助