The error every content read returns for a path with an unresolved name conflict. Callers that classify paths first must report the same error.
(path: &str, paths: usize, claimants: usize)
| 37 | /// The error every content read returns for a path with an unresolved name |
| 38 | /// conflict. Callers that classify paths first must report the same error. |
| 39 | pub fn name_conflict_error(path: &str, paths: usize, claimants: usize) -> RepositoryError { |
| 40 | RepositoryError::InvalidOperation { |
| 41 | message: format!( |
| 42 | "path '{}' has an unresolved name conflict ({} path(s), {} claimant(s)); refusing to choose content", |
| 43 | path, paths, claimants |
| 44 | ), |
| 45 | } |
| 46 | } |
| 47 | |
| 48 | impl Repository { |
| 49 | /// Get the recorded content for a tracked file. |
no outgoing calls
no test coverage detected