(&self, f: &mut std::fmt::Formatter<'_>)
| 55 | |
| 56 | impl Display for PathValidationErrors { |
| 57 | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { |
| 58 | write!( |
| 59 | f, |
| 60 | "{}", |
| 61 | t!("error-path-validation-errors", { |
| 62 | "base_dir" => self.base_dir.display().to_string(), |
| 63 | "errors" => self |
| 64 | .errors |
| 65 | .iter() |
| 66 | .map(|e| e.to_string()) |
| 67 | .collect::<Vec<_>>() |
| 68 | .join("\n") |
| 69 | }) |
| 70 | ) |
| 71 | } |
| 72 | } |
| 73 | |
| 74 | /// The error that can occur when comparing [`Mtree`] paths with paths on a file system. |
nothing calls this directly
no outgoing calls
no test coverage detected