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

Function test_reexports_available

atomic-remote/src/lib.rs:200–221  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

198
199 #[test]
200 fn test_reexports_available() {
201 // Verify that all re-exports are accessible
202 let _ = RemoteError::other("test");
203 let _ = StateResponse::empty();
204 let _ = ChangelistEntry::new(0, "hash", "merkle", false);
205 let _ = Node::change("hash", "state");
206 let _ = NodeType::Change;
207 let _ = PushDelta::new();
208 let _ = PullDelta::new();
209 let _ = RemoteState::empty();
210 let _ = RemoteDelta::in_sync();
211 let _ = SyncStats::default();
212
213 // Streaming protocol types
214 let _ = LayerSelection::all();
215 let _ = LayerSelection::thin_pull();
216 let _ = ChunkManifest::empty();
217 let _ = ChunkManifestEntry::new(0, [0u8; 32], 0, 0);
218 let _ = StreamingPushOptions::default();
219 let _ = StreamingPullOptions::default();
220 let _ = TransferStats::default();
221 }
222}

Callers

nothing calls this directly

Calls 1

changeFunction · 0.50

Tested by

no test coverage detected