Enum git_pack::index::verify::Mode [−][src]
pub enum Mode {
Sha1Crc32,
Sha1Crc32Decode,
Sha1Crc32DecodeEncode,
}
Expand description
Various ways in which a pack and index can be verified
Variants
Sha1Crc32
Validate SHA1 and CRC32
Sha1Crc32Decode
Validate SHA1 and CRC32, and decode each non-Blob object. Each object should be valid, i.e. be decodable.
Sha1Crc32DecodeEncode
Validate SHA1 and CRC32, and decode and encode each non-Blob object. Each object should yield exactly the same hash when re-encoded.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Mode
impl UnwindSafe for Mode
Blanket Implementations
Mutably borrows from an owned value. Read more