Sebastian Thiel[git-pack] refactor157b6ff5 years agoHistory
13 lines · 456 B · Rust
RawDownload
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] crate::data::input::Error),    #[error("Could not move a temporary file into its desired place")]    PeristError(#[from] tempfile::PersistError),    #[error(transparent)]    IndexWrite(#[from] crate::index::write::Error),}