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

Function test_glob_match_double_star

crates/openshell-bootstrap/src/build.rs:591–595  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

589
590 #[test]
591 fn test_glob_match_double_star() {
592 assert!(glob_match("**/*.log", "a/b/c.log", false));
593 assert!(glob_match("**/*.log", "c.log", false));
594 assert!(!glob_match("**/*.log", "c.txt", false));
595 }
596
597 #[test]
598 fn test_is_ignored_directory_prefix() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected