Open an existing pristine database in read-only mode This method opens the database without acquiring a write lock, allowing concurrent read access from multiple processes. It's suitable for read-only operations like `status`, `diff`, `log`, and `change`. # Errors Returns an error if: - The database file doesn't exist - The database is corrupted - Read access cannot be obtained # Example ```i
(path: P)
| 482 | /// // Read operations... |
| 483 | /// ``` |
| 484 | pub fn open_readonly<P: AsRef<Path>>(path: P) -> PristineResult<Self> { |
| 485 | Self::open_readonly_with_schema_check(path, true, true) |
| 486 | } |
| 487 | |
| 488 | /// Open for inspection without performing database upgrade or recovery. |
| 489 | /// |
nothing calls this directly
no outgoing calls
no test coverage detected