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

Function test_has_content_root

atomic-core/src/record/workflow/retrieve.rs:697–704  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

695
696 #[test]
697 fn test_has_content_root() {
698 let txn = MockTxn::new();
699 let changes = MemoryChangeStore::new();
700
701 let result = has_content(&txn, &changes, Position::ROOT).unwrap();
702
703 assert!(!result);
704 }
705
706 #[test]
707 fn test_has_content_empty_graph() {

Callers

nothing calls this directly

Calls 2

has_contentFunction · 0.85
unwrapMethod · 0.45

Tested by

no test coverage detected