Struct git2::Odb [] [src]

pub struct Odb<'repo> { /* fields omitted */ }

A structure to represent a git object database

Methods

impl<'repo> Odb<'repo>
[src]

[src]

Create object database reading stream

Note that most backends do not support streaming reads because they store their objects as compressed/delta'ed blobs.

[src]

Create object database writing stream

The type and final length of the object must be specified when opening the stream.

[src]

Iterate over all objects in the object database

[src]

Read object from the database.

[src]

Checks if the object database has an object.

Trait Implementations

impl<'repo> Drop for Odb<'repo>
[src]

[src]

Executes the destructor for this type. Read more