Skip to main content

is_glob_pattern

Function is_glob_pattern 

Source
pub fn is_glob_pattern(path: &str) -> bool
Expand description

Whether an include/glob path contains glob metacharacters (*, ?, [).

Single source of truth shared with the LSP’s document-link resolver so the two agree on what counts as a glob — a literal-path existence check on a glob wrongly reports “File not found” (issue #1647).