pub fn check(root: &Path, artifacts: &[Artifact]) -> Result<(), Error>
Compare every artifact with what is on disk under root; write nothing.
root