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

Function test_remote_delta_with_downloads

atomic-remote/src/sync.rs:987–994  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

985
986 #[test]
987 fn test_remote_delta_with_downloads() {
988 let mut delta = RemoteDelta::in_sync();
989 delta.to_download.push(Node::change("A", "S0"));
990 delta.to_download.push(Node::change("B", "S1"));
991
992 assert!(!delta.is_in_sync());
993 assert_eq!(delta.transfer_count(), 2);
994 }
995
996 #[test]
997 fn test_remote_delta_into_pull_delta() {

Callers

nothing calls this directly

Calls 2

changeFunction · 0.50
pushMethod · 0.45

Tested by

no test coverage detected