pub fn check(&self) -> Result<()> {
		if self.explicit_watches.iter().any(|p| !p.is_absolute()) {
			bail!("explicit_watches contains non-absolute paths");
		}
		if self.explicit_watches.iter().any(|p| !p.is_normalized()) {
			bail!("explicit_watches contains non-normalised paths");
		}
		if self.explicit_ignores.iter().any(|p| !p.is_absolute()) {
			bail!("explicit_ignores contains non-absolute paths");
		}
		if self.explicit_ignores.iter().any(|p| !p.is_normalized()) {
			bail!("explicit_ignores contains non-normalised paths");
		}

		Ok(())
	}
Check that this struct is correctly-formed.
crates/ignore-files/src/discover.rs