pub fn is_module_path_allowed(&self, path: &str) -> bool {
        if self.allow_module_paths.is_empty() {
            return true;
        }

        self.allow_module_paths
            .iter()
            .any(|allowed_path| allowed_path == path)
    }
/// Check if module path is allowed by filter rules.
Check if module path is allowed by filter rules.
Check if module path is allowed by filter rules .
pub fn is_module_path_allowed(&self, path: &str) -> bool {
        if self.allow_module_paths.is_empty() {
            return true;
        }
        self.allow_module_paths
            .iter()
            .any(|allowed_path| allowed_path == path)
    }
pub fn is_module_path_allowed ( & self , path : & str ) -> bool { if self . allow_module_paths . is_empty ( ) { return true ; } self . allow_module_paths . iter ( ) . any ( | allowed_path | allowed_path == path ) }
Check if module path is allowed by filter rules.
Check if module path is allowed by filter rules .
&self
path
&str
&self
path
&str