Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVicent Marti <tanoku@gmail.com>2011-07-09 04:37:16 +0400
committerVicent Marti <tanoku@gmail.com>2011-07-09 04:40:16 +0400
commit06c43821b94dcf9fa4f95f29c12f77d18a402690 (patch)
tree219e1f975109df1989bdcd86611e59ccf1ca403e /src/repository.h
parentafeecf4f262b74270368ef8a70c582ea9d5a18e8 (diff)
Remove unused methods
The direct-writes commit left some (slow) internals methods that were no longer needed. These have been removed. Also, the Reflog code was using the old `git_signature__write`, so it has been rewritten to use a normal buffer and the new `writebuf` signature writer. It's now slightly simpler and faster.
Diffstat (limited to 'src/repository.h')
-rw-r--r--src/repository.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/repository.h b/src/repository.h
index 1cf426128..2e0b9e352 100644
--- a/src/repository.h
+++ b/src/repository.h
@@ -43,8 +43,7 @@ struct git_repository {
* export */
void git_object__free(void *object);
-int git__parse_oid(git_oid *oid, const char **buffer_out, const char *buffer_end, const char *header);
-int git__write_oid(git_odb_stream *src, const char *header, const git_oid *oid);
+int git_oid__parse(git_oid *oid, const char **buffer_out, const char *buffer_end, const char *header);
void git_oid__writebuf(git_buf *buf, const char *header, const git_oid *oid);
#endif