pub fn is_allowed_hidden_dir(name: &OsStr) -> bool
Check if a hidden directory name is on the discovery allowlist.