git_odb_stream.finalize_write

Store the contents of the stream as an object with the id specified in oid.

This method might not be invoked if: - an error occurs earlier with the write callback, - the object referred to by oid already exists in any backend, or - the final number of received bytes differs from the size declared with git_odb_open_wstream()

struct git_odb_stream
int function(.git_odb_stream* stream, const(libgit2_d.oid.git_oid)* oid) finalize_write;

Meta