git_odb_backend.read

read and read_prefix each return to libgit2 a buffer which will be freed later. The buffer should be allocated using the function git_odb_backend_data_alloc to ensure that libgit2 can safely free it later.

struct git_odb_backend
int function(void**, size_t*, libgit2_d.types.git_object_t*, .git_odb_backend*, const(libgit2_d.oid.git_oid)*) read;

Meta