(left: &Path, right: &Path)
| 714 | } |
| 715 | |
| 716 | fn paths_same(left: &Path, right: &Path) -> bool { |
| 717 | let left = std::fs::canonicalize(left).unwrap_or_else(|_| left.to_path_buf()); |
| 718 | let right = std::fs::canonicalize(right).unwrap_or_else(|_| right.to_path_buf()); |
| 719 | left == right |
| 720 | } |
| 721 | |
| 722 | /// Returns `true` if the path matches any of the configured `include` patterns. |
| 723 | /// |
no test coverage detected