1 use crate::{extension, extension::Signature}
;
3 /// The signature of the end-of-index-entry extension
4 pub const SIGNATURE
: Signature
= *b
"EOIE";
5 /// The minimal size of the extension, depending on the shortest hash.
6 pub const MIN_SIZE
: usize = 4 /* offset to extensions */ + gix_hash
::Kind
::shortest().len_in_bytes();
7 /// The smallest size of the extension varying by hash kind, along with the standard extension header.
8 pub const MIN_SIZE_WITH_HEADER
: usize = extension
::MIN_SIZE
+ MIN_SIZE
;
11 pub use decode
::decode
;
14 pub use write
::write_to
;