Skip to main content

verify

Function verify 

Source
pub fn verify(dir: &Path, options: &VerifyOptions) -> VerifyReport
Expand description

Checks a database directory without taking its lock or changing a byte, and reports what is wrong with it instead of failing on it: every damaged, missing or unreadable file becomes a Problem, never an Err and never a panic.

Looks at the metadata document, each declared table’s log files line by line, logs the catalog does not declare, an unfinished unit-of-work journal and (optionally) declared relations.