diff options
author | Carlos Martín Nieto <cmn@dwim.me> | 2013-10-30 15:00:05 +0100 |
---|---|---|
committer | Carlos Martín Nieto <cmn@dwim.me> | 2013-10-30 15:00:05 +0100 |
commit | a6154f2183043626cdbe995b4795346610b5862e (patch) | |
tree | da7018cc6cf06bf27cb11cef356d6b9fde31b9fd /include/git2/odb_backend.h | |
parent | 5c50f22a93c78190fb7d81802199ff9defc8cf55 (diff) | |
download | libgit2-a6154f2183043626cdbe995b4795346610b5862e.tar.gz |
indexer: remove the stream infix
It was there to keep it apart from the one which read in from a file on
disk. This other indexer does not exist anymore, so there is no need for
anything other than git_indexer to refer to it.
While here, rename _add() function to _append() and _finalize() to
_commit(). The former change is cosmetic, while the latter avoids
talking about "finalizing", which OO languages use to mean something
completely different.
Diffstat (limited to 'include/git2/odb_backend.h')
-rw-r--r-- | include/git2/odb_backend.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/git2/odb_backend.h b/include/git2/odb_backend.h index a6cb285dc..1b3e2fd12 100644 --- a/include/git2/odb_backend.h +++ b/include/git2/odb_backend.h @@ -116,7 +116,7 @@ struct git_odb_stream { struct git_odb_writepack { git_odb_backend *backend; - int (*add)(git_odb_writepack *writepack, const void *data, size_t size, git_transfer_progress *stats); + int (*append)(git_odb_writepack *writepack, const void *data, size_t size, git_transfer_progress *stats); int (*commit)(git_odb_writepack *writepack, git_transfer_progress *stats); void (*free)(git_odb_writepack *writepack); }; |