MCPcopy Create free account
hub / github.com/Zen-Open-Source/AgentArmor / get_array

Function get_array

src/utils/config.rs:40–42  ·  view source on GitHub ↗
(config: &'a Value, path: &str)

Source from the content-addressed store, hash-verified

38}
39
40pub fn get_array<'a>(config: &'a Value, path: &str) -> Option<&'a Vec<Value>> {
41 get(config, path)?.as_array()
42}

Callers 3

config_exec_not_deniedFunction · 0.85
checkFunction · 0.85
checkFunction · 0.85

Calls 1

getFunction · 0.85

Tested by

no test coverage detected