(layout: &RepositoryLayout, reason: impl Into<String>)
| 634 | } |
| 635 | |
| 636 | fn migration_required(layout: &RepositoryLayout, reason: impl Into<String>) -> RepositoryError { |
| 637 | RepositoryError::WorkingCopyMigrationRequired { |
| 638 | path: layout.working_copy_dot_dir.join(WORKING_COPY_ID_FILE), |
| 639 | reason: reason.into(), |
| 640 | } |
| 641 | } |
| 642 | |
| 643 | fn malformed_identity_error( |
| 644 | layout: &RepositoryLayout, |
no outgoing calls
no test coverage detected