Open a repository strictly read-only or return a user-friendly error.
(path: Option<&Path>)
| 469 | |
| 470 | /// Open a repository strictly read-only or return a user-friendly error. |
| 471 | pub fn require_repository_readonly(path: Option<&Path>) -> CliResult<Repository> { |
| 472 | open_repository_readonly(path) |
| 473 | } |
| 474 | |
| 475 | /// Open a repository for native-index checking without implicit migration. |
| 476 | pub fn require_repository_for_native_check(path: Option<&Path>) -> CliResult<Repository> { |
no test coverage detected