Home
last modified time | relevance | path

Searched refs:match_name (Results 1 – 1 of 1) sorted by relevance

/tonic/tonic-build/src/
H A Dlib.rs234 .filter(|(matcher, _)| match_name(matcher, name)) in generate_attributes()
293 pub(crate) fn match_name(pattern: &str, path: &str) -> bool { in match_name() function
340 assert!(match_name(".", ".my.protos")); in test_match_name()
341 assert!(match_name(".", ".protos")); in test_match_name()
343 assert!(match_name(".my", ".my")); in test_match_name()
344 assert!(match_name(".my", ".my.protos")); in test_match_name()
347 assert!(match_name("Service", ".my.protos.Service")); in test_match_name()
349 assert!(!match_name(".m", ".my.protos")); in test_match_name()
350 assert!(!match_name(".p", ".protos")); in test_match_name()
352 assert!(!match_name(".my", ".myy")); in test_match_name()
[all …]