Skip to main content

parse_allowlist

Function parse_allowlist 

Source
pub fn parse_allowlist(raw: &JsonValue) -> Option<BTreeSet<String>>
Expand description

Parses the allowlist of a capability decision: an array of tool names or an object with a tools array. Returns None for anything else.