Generate the next node ID.
(counter: &mut u64, prefix: &str)
| 711 | |
| 712 | /// Generate the next node ID. |
| 713 | fn next_id(counter: &mut u64, prefix: &str) -> String { |
| 714 | *counter += 1; |
| 715 | format!("{}-{}", prefix, counter) |
| 716 | } |
| 717 | |
| 718 | /// Shorten a file path for summary display. |
| 719 | fn short_path(path: &str) -> String { |
no outgoing calls
no test coverage detected