Skip to main content

projection_current

Function projection_current 

Source
pub fn projection_current(root: &Path) -> bool
Expand description

Whether PROJECTION states what MANIFEST declares — the one comparison every surface reports as agree.

use majordomus_cli::release::version::projection_current;
let dir = tempfile::tempdir().unwrap();
// a repository that carries neither has nothing out of step
assert!(projection_current(dir.path()));