20 lines · 423 B · Rust
RawDownload
mod commit;mod tree; #[test]fn object_ref_size_in_memory() {    assert_eq!(        std::mem::size_of::<git_repository::Object<'_>>(),        56,        "the size of this structure should not changed unexpectedly"    )} #[test]fn oid_size_in_memory() {    assert_eq!(        std::mem::size_of::<git_repository::Id<'_>>(),        32,        "the size of this structure should not changed unexpectedly"    )}