pub fn detect_change_type( output_dir: &Path, source: &dyn Fingerprintable, ) -> Result<ChangeType, Box<dyn Error>>