Extract a command string from a verification node's detail.
(node: &GraphNode)
| 619 | |
| 620 | /// Extract a command string from a verification node's detail. |
| 621 | fn extract_command(node: &GraphNode) -> Option<String> { |
| 622 | node.detail |
| 623 | .as_ref() |
| 624 | .and_then(|d| d.get("command")) |
| 625 | .and_then(|v| v.as_str()) |
| 626 | .map(|s| s.to_string()) |
| 627 | } |
| 628 | |
| 629 | /// Find the longest common directory prefix among a set of paths. |
| 630 | fn common_directory(paths: &[String]) -> String { |
no test coverage detected