Struct git2::OdbObject [−][src]
pub struct OdbObject<'a> { /* fields omitted */ }
An object from the Object Database.
Methods
impl<'a> OdbObject<'a>
[src]
impl<'a> OdbObject<'a>
pub fn kind(&self) -> ObjectType
[src]
pub fn kind(&self) -> ObjectType
Get the object type.
pub fn len(&self) -> usize
[src]
pub fn len(&self) -> usize
Get the object size.
pub fn data(&self) -> &[u8]
[src]
pub fn data(&self) -> &[u8]
Get the object data.
pub fn id(&self) -> Oid
[src]
pub fn id(&self) -> Oid
Get the object id.