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

Function test_remote_entry_with_default

atomic-repository/src/remote.rs:716–722  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

714
715 #[test]
716 fn test_remote_entry_with_default() {
717 let entry = RemoteEntry::new("https://example.com/repo").with_default(true);
718 assert!(entry.default);
719
720 let entry = entry.with_default(false);
721 assert!(!entry.default);
722 }
723
724 #[test]
725 fn test_remote_entry_is_valid_url() {

Callers

nothing calls this directly

Calls 1

with_defaultMethod · 0.80

Tested by

no test coverage detected