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

Function soft_delete

nodedb/src/engine/graph/edge_store/scan.rs:263–266  ·  view source on GitHub ↗
(store: &EdgeStore, clock: &OrdinalClock, src: &str, label: &str, dst: &str)

Source from the content-addressed store, hash-verified

261 }
262
263 fn soft_delete(store: &EdgeStore, clock: &OrdinalClock, src: &str, label: &str, dst: &str) {
264 let ord = clock.next_ordinal();
265 store.soft_delete_edge(e(src, label, dst), ord).unwrap();
266 }
267
268 #[test]
269 fn put_and_get_edge_current_state() {

Calls 3

next_ordinalMethod · 0.80
soft_delete_edgeMethod · 0.80
eFunction · 0.70