Skip to main content

verify

Function verify 

Source
pub fn verify(dir: &Path, daemon: Option<&Path>) -> Vec<Check>
Expand description

Checks one backup directory.

daemon is the choir-node that walks the hash chain. Without one the chain check warns rather than failing: every other check here is still worth having, and a machine holding a backup is not necessarily a machine that runs nodes.