⚠️ VeridianOS Kernel Documentation - This is low-level kernel code. All functions are unsafe unless explicitly marked otherwise. no_std

Module delta

Module delta 

Source
Expand description

Binary Delta Updates

Provides block-matching binary diff and patch operations for incremental package updates. Uses 256-byte fixed blocks with FNV-1a hashing to detect matching regions, producing a compact delta representation.

Structs§

BinaryDelta
A binary delta between two versions of a file.
DeltaMetadata
Metadata describing a delta update between two versions.

Enums§

DeltaOp
A single operation in a binary delta.

Functions§

apply_delta
Apply a binary delta to the source data, producing the target.
compute_delta
Compute a binary delta between old and new data.
deserialize_delta
Deserialize a BinaryDelta from bytes.
serialize_delta
Serialize a BinaryDelta to bytes for storage/transmission.
verify_delta_result
Verify that a delta result matches the expected hash.