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

Function path_prefix_pattern

crates/openshell-providers/src/profiles.rs:1587–1589  ·  view source on GitHub ↗
(path: &str)

Source from the content-addressed store, hash-verified

1585}
1586
1587fn path_prefix_pattern(path: &str) -> Option<&str> {
1588 path.strip_suffix("/**")
1589}
1590
1591fn endpoint_path_matches(pattern: &str, path: &str) -> bool {
1592 if path_matches_all(pattern) {

Callers 2

endpoint_path_matchesFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected