Whether repository-level path-claim backfill is still required.
(&self)
| 674 | |
| 675 | /// Whether repository-level path-claim backfill is still required. |
| 676 | pub fn path_claim_migration_required(&self) -> PristineResult<bool> { |
| 677 | match self.path_claim_schema_version()? { |
| 678 | Some(PATH_CLAIM_SCHEMA_VERSION) => Ok(false), |
| 679 | Some(version) if version > PATH_CLAIM_SCHEMA_VERSION => { |
| 680 | Err(path_claim_schema_error(Some(version))) |
| 681 | } |
| 682 | _ => Ok(true), |
| 683 | } |
| 684 | } |
| 685 | |
| 686 | /// The writable redb handle, for stores that keep their tables in the same |
| 687 | /// repository database. `None` for a read-only pristine. |
no test coverage detected