Create a pending edge with an introduced_by reference. # Arguments `from` - Source position `to` - Destination position `flag` - Edge flags `introduced_by` - The change that introduced this edge
(
from: Position<NodeId>,
to: Position<NodeId>,
flag: EdgeFlags,
introduced_by: NodeId,
)
| 121 | /// * `flag` - Edge flags |
| 122 | /// * `introduced_by` - The change that introduced this edge |
| 123 | pub fn with_introduced_by( |
| 124 | from: Position<NodeId>, |
| 125 | to: Position<NodeId>, |
| 126 | flag: EdgeFlags, |
| 127 | introduced_by: NodeId, |
| 128 | ) -> Self { |
| 129 | Self { |
| 130 | from, |
| 131 | to, |
| 132 | flag, |
| 133 | introduced_by: Some(introduced_by), |
| 134 | } |
| 135 | } |
| 136 | |
| 137 | /// Check if this is a deletion edge. |
| 138 | pub fn is_deletion(&self) -> bool { |
nothing calls this directly
no outgoing calls
no test coverage detected