MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / apply_invalidates_tile_after_success

Function apply_invalidates_tile_after_success

nodedb-array/src/sync/apply.rs:413–420  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

411
412 #[test]
413 fn apply_invalidates_tile_after_success() {
414 let mut engine = MockEngine::new();
415 engine.register_array("b", hlc(100));
416 let op = delete_op("b", 30, 50);
417 apply_op(&mut engine, &op).unwrap();
418 assert_eq!(engine.invalidated.len(), 1);
419 assert_eq!(engine.invalidated[0].0, "b");
420 }
421}

Callers

nothing calls this directly

Calls 4

apply_opFunction · 0.85
register_arrayMethod · 0.80
hlcFunction · 0.70
delete_opFunction · 0.70

Tested by

no test coverage detected