Function clear_if_dirty

Source
pub fn clear_if_dirty(builder: &Builder<'_>, dir: &Path, input: &Path) -> bool
Expand description

Clear out dir if input is newer.

After this executes, it will also ensure that dir exists.