odb: Expose git_odb_object_type() as OdbObject.Type() #328

Merged
navytux merged 1 commits from y/odb-type into next 2016-07-24 11:09:12 -05:00

1 Commits

Author SHA1 Message Date
Kirill Smelkov cf7553e72c odb: Expose git_odb_object_type() as OdbObject.Type()
It might be needed when one is writing `git cat-file --batch` equivalent
which has output format

    <sha1> SP <type> SP <size> LF
    <contents> LF
2016-07-19 22:48:52 +03:00