(a: &Path, b: &Path)
| 380 | } |
| 381 | |
| 382 | pub(super) fn paths_same(a: &Path, b: &Path) -> bool { |
| 383 | match (a.canonicalize(), b.canonicalize()) { |
| 384 | (Ok(a), Ok(b)) => a == b, |
| 385 | _ => a == b, |
| 386 | } |
| 387 | } |
| 388 | |
| 389 | #[cfg(test)] |
| 390 | #[allow(clippy::unwrap_used)] |
no outgoing calls
no test coverage detected