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

Method is_edge_deleted

atomic-core/src/apply/workspace.rs:548–550  ·  view source on GitHub ↗

Check if an edge is marked as deleted.

(&self, from: &Position<NodeId>, to: &Position<NodeId>)

Source from the content-addressed store, hash-verified

546
547 /// Check if an edge is marked as deleted.
548 pub fn is_edge_deleted(&self, from: &Position<NodeId>, to: &Position<NodeId>) -> bool {
549 self.deleted_edges.contains(&(*from, *to))
550 }
551
552 /// Get all pending edges.
553 pub fn pending_edges(&self) -> &[PendingEdge] {

Callers

nothing calls this directly

Calls 1

containsMethod · 0.45

Tested by

no test coverage detected