usecrate::utils::fs::get_flags;usestd::{io,path::Path};/// Check if the file has the nodump flag set.
/// This is used to skip files during backup operations.
pub(crate)fnis_nodump(path:&Path)->io::Result<bool>{let flags =get_flags(path)?;Ok(flags.iter().any(|f|f =="nodump"))}