Open an existing database for read-only repair inspection without initializing tables or requiring a completed PATH_CLAIMS schema. A legacy redb format or interrupted transaction can require a writable upgrade or recovery before the database is reopened read-only.
(path: P)
| 524 | /// A legacy redb format or interrupted transaction can require a writable |
| 525 | /// upgrade or recovery before the database is reopened read-only. |
| 526 | pub fn open_readonly_for_repair<P: AsRef<Path>>(path: P) -> PristineResult<Self> { |
| 527 | Self::open_readonly_with_schema_check(path, false, true) |
| 528 | } |
| 529 | |
| 530 | fn open_readonly_with_schema_check<P: AsRef<Path>>( |
| 531 | path: P, |
nothing calls this directly
no outgoing calls
no test coverage detected