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

Function empty_pack_is_empty

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

Source from the content-addressed store, hash-verified

390
391 #[test]
392 fn empty_pack_is_empty() {
393 let pack = SyncPack::empty();
394 assert!(pack.is_empty());
395 let decoded = SyncPack::decode(&pack.encode().unwrap()).unwrap();
396 assert!(decoded.is_empty());
397 }
398
399 #[test]
400 fn family_segment_mapping_is_stable_and_reversible() {

Callers

nothing calls this directly

Calls 3

decodeFunction · 0.85
unwrapMethod · 0.45
encodeMethod · 0.45

Tested by

no test coverage detected