Read an object from the database using only pack files.
If GIT_ENOTFOUND then out->data is set to NULL.
int git_odb__read_packed(git_rawobj *out, git_odb *db, const git_oid *id);
In
out
object descriptor to populate upon reading.
In
db
database to search for the object in.
In
id
identity of the object to read.
int
- GIT_SUCCESS if the object was read.
- GIT_ENOTFOUND if the object is not in the database.