git-odb 0.14.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
use crate::pack;
use std::io;

#[derive(thiserror::Error, Debug)]
pub enum Error {
    #[error("An IO error occurred when reading the pack or creating a temporary file")]
    Io(#[from] io::Error),
    #[error(transparent)]
    PackIter(#[from] pack::data::input::Error),
    #[error("Could not move a temporary file into its desired place")]
    PeristError(#[from] tempfile::PersistError),
    #[error(transparent)]
    IndexWrite(#[from] pack::index::write::Error),
}