MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / l7_path_glob_matching

Function l7_path_glob_matching

crates/openshell-supervisor-network/src/opa.rs:2643–2648  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2641
2642 #[test]
2643 fn l7_path_glob_matching() {
2644 let engine = l7_engine();
2645 // /repos/** should match /repos/org/repo
2646 let input = l7_input("api.example.com", 8080, "GET", "/repos/org/repo");
2647 assert!(eval_l7(&engine, &input));
2648 }
2649
2650 #[test]
2651 fn l7_query_glob_allows_matching_duplicate_values() {

Callers

nothing calls this directly

Calls 2

l7_engineFunction · 0.85
l7_inputFunction · 0.85

Tested by

no test coverage detected