mago_database/
exclusion.rs

1use std::path::PathBuf;
2
3/// Defines a rule for excluding files or directories from a scan.
4#[derive(Debug, Clone, Hash, Eq, PartialEq, PartialOrd, Ord)]
5pub enum Exclusion {
6    /// Exclude a specific file or directory path.
7    Path(PathBuf),
8    /// Exclude paths matching a glob pattern.
9    Pattern(String),
10}