Write a loose blob to the Object Database from a provider of chunks of data.
Provided the hintpath
parameter is filled, its value
will help to determine what git filters should be applied
to the object before it can be placed to the object database.
The implementation of the callback has to respect the following rules:
content
will have to be filled by the consumer. The maximum number
of bytes that the buffer can accept per call is defined by the
max_length
parameter. Allocation and freeing of the buffer will be taken
care of by the function.content
have been filled with.repository where the blob will be written. This repository can be bare or not.
if not NULL, will help selecting the filters to apply onto the content of the blob to be created.
0 or an error code