Skip to main content

Crate delta

Crate delta 

Source

Re-exports§

pub use types::Algorithm;
pub use types::Command;
pub use types::CyclePolicy;
pub use types::DeltaError;
pub use types::DeltaSummary;
pub use types::DiffOptions;
pub use types::PlacedCommand;
pub use types::DELTA_ADD_HEADER;
pub use types::DELTA_BIGADD_HEADER;
pub use types::DELTA_BIGCOPY_PAYLOAD;
pub use types::DELTA_BUF_CAP;
pub use types::DELTA_CMD_ADD;
pub use types::DELTA_CMD_BIGADD;
pub use types::DELTA_CMD_BIGCOPY;
pub use types::DELTA_CMD_BIGMOVE;
pub use types::DELTA_CMD_COPY;
pub use types::DELTA_CMD_END;
pub use types::DELTA_CMD_MOVE;
pub use types::DELTA_COPY_PAYLOAD;
pub use types::DELTA_CRC_SIZE;
pub use types::DELTA_FLAG_INPLACE;
pub use types::DELTA_HEADER_SIZE;
pub use types::DELTA_HEADER_SIZE_LARGE;
pub use types::DELTA_MAGIC;
pub use types::DELTA_MAGIC_LARGE;
pub use types::DELTA_U32_SIZE;
pub use types::DELTA_U64_SIZE;
pub use types::HASH_BASE;
pub use types::HASH_MOD;
pub use types::MAX_TABLE_SIZE;
pub use types::SEED_LEN;
pub use types::TABLE_SIZE;
pub use hash::crc64_xz;
pub use hash::fingerprint;
pub use hash::fp_to_index;
pub use hash::is_prime;
pub use hash::mod_mersenne;
pub use hash::next_prime;
pub use hash::precompute_bp;
pub use hash::RollingHash;
pub use encoding::decode_delta;
pub use encoding::encode_delta;
pub use encoding::encode_delta_large;
pub use encoding::is_inplace_delta;
pub use splay::SplayTree;
pub use algorithm::diff;
pub use algorithm::diff_default;
pub use algorithm::greedy::diff_greedy;
pub use algorithm::greedy::diff_greedy_default;
pub use algorithm::onepass::diff_onepass;
pub use algorithm::onepass::diff_onepass_default;
pub use algorithm::correcting::diff_correcting;
pub use algorithm::correcting::diff_correcting_default;
pub use apply::apply_delta;
pub use apply::apply_delta_inplace;
pub use apply::apply_delta_to;
pub use apply::apply_placed_inplace_to;
pub use apply::apply_placed_to;
pub use apply::validate_placed_commands;
pub use apply::output_size;
pub use apply::place_commands;
pub use apply::unplace_commands;
pub use inplace::make_inplace;
pub use inplace::InplaceStats;
pub use types::delta_summary;
pub use types::placed_summary;

Modules§

algorithm
apply
encoding
hash
Karp-Rabin rolling hash (Karp & Rabin 1987; Section 2.1.3).
inplace
splay
Tarjan-Sleator splay tree keyed on u64 fingerprints.
types