git_blob_create_from_stream_commit

Close the stream and write the blob to the object db

The stream will be closed and freed.

extern (C) nothrow @nogc
int
git_blob_create_from_stream_commit

Parameters

out_ libgit2_d.oid.git_oid*

the id of the new blob

stream libgit2_d.types.git_writestream*

the stream to close

Return Value

Type: int

0 or an error code

Meta