[go: up one dir, main page]

git-odb 0.12.0

Implements a git object database for loose objects and packs
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! An object database delegating object access to multiple contained object databases with loose and packed objects.
use crate::{loose, pack};

///
pub mod init;
///
pub mod locate;
mod write;

/// An object database with tiered lookup packs and loose objects.
/// This is a typical git database as used in git repositories, sans 'alternates'.
pub struct Db {
    /// A loose object database into which new objects are written
    pub loose: loose::Db,
    /// All packs in the `objects/packs` directory
    pub packs: Vec<pack::Bundle>,
}