libgit-thin: Update QUESTIONS file
[git/libgit-gsoc.git] / libgit-thin / ltrepo.h
blobda63758eeb694aac89b6ae1b853a88505f3966a4
1 #ifndef LT_REPO_H
2 #define LT_REPO_H
4 int git_repo_open(const char *path);
5 int git_repo_translate_ref(const char *ref, unsigned char *sha1);
6 int git_repo_head(unsigned char *sha1);
7 int git_repo_blob_read(unsigned char *sha1, void **buf, size_t *size);
8 int git_repo_commit_read(unsigned char *sha1, void **buf, size_t *size);
9 int git_repo_tree_read(unsigned char *sha1, void **buf, size_t *size);
10 int git_repo_tag_read(unsigned char *sha1, void **buf, size_t *size);
12 #endif /* LT_REPO_H */