MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / empty_pack_is_empty

Function empty_pack_is_empty

atomic-objects/src/sync.rs:398–403  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

396
397 #[test]
398 fn empty_pack_is_empty() {
399 let pack = SyncPack::empty();
400 assert!(pack.is_empty());
401 let decoded = SyncPack::decode(&pack.encode().unwrap()).unwrap();
402 assert!(decoded.is_empty());
403 }
404
405 #[test]
406 fn family_segment_mapping_is_stable_and_reversible() {

Callers

nothing calls this directly

Calls 3

decodeFunction · 0.70
unwrapMethod · 0.45
encodeMethod · 0.45

Tested by

no test coverage detected