Returns `true` if no resolution state is present at all. We must consult **every** field — `merged`, `skip` and `unresolved_forks` — because the resolved-output writer takes a fast path through `output_graph_content` when this returns `true`, and that fast path honours none of them. A resolution that's only a skip set (e.g. a fork settled by change-DAG supersession where the winner is emitted as
(&self)
| 75 | /// are dropped) must NOT trip the fast path or the loser bytes |
| 76 | /// would still be written. |
| 77 | pub fn is_empty(&self) -> bool { |
| 78 | self.merged.is_empty() && self.skip.is_empty() && self.unresolved_forks.is_empty() |
| 79 | } |
| 80 | |
| 81 | /// Record merged content for the lead vertex of a resolved SCC. |
| 82 | pub fn insert_merged(&mut self, vid: VertexId, content: Vec<u8>) { |
no outgoing calls
no test coverage detected