pub fn is_allowed(name: &str) -> boolExpand description
Whether name is on ct-test’s fixed read-only allowlist.
§Examples
use coding_tools::allowlist::is_allowed;
assert!(is_allowed("grep")); // a built-in read-only command
assert!(is_allowed("ct-search")); // the suite's own read-only tools
assert!(!is_allowed("rm")); // not read-only, never runnable
assert!(!is_allowed("sh")); // no shell, ever