git-internal 0.8.4

High-performance Rust library for Git internal objects, Pack files, and AI-assisted development objects (Intent, Plan, Task, Run, Evidence, Decision) with delta compression, streaming I/O, and smart protocol support.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! Error variants for the custom delta encoder/decoder so callers can surface friendly failures.

use thiserror::Error;

/// Delta encoder/decoder error kinds exposed to callers.
#[derive(Error, Debug)]
pub enum GitDeltaError {
    /// Failure while building delta instructions.
    #[error("Delta encoder error: {0}")]
    DeltaEncoderError(String),

    /// Failure while applying delta instructions.
    #[error("Delta decoder error: {0}")]
    DeltaDecoderError(String),
}