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

Function test_remote_state_entries_from_past_end

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

Source from the content-addressed store, hash-verified

882
883 #[test]
884 fn test_remote_state_entries_from_past_end() {
885 let mut cache = RemoteState::empty();
886 cache.insert(0, Node::change("A", "S0"));
887
888 let result = cache.entries_from(5);
889 assert!(result.is_empty());
890 }
891
892 #[test]
893 fn test_remote_state_from_changelist() {

Callers

nothing calls this directly

Calls 2

entries_fromMethod · 0.80
insertMethod · 0.45

Tested by

no test coverage detected